This is just a super simple tool written in Golang to commit and push code at the same time.
- git add .
- git commit -m 'some message'
- git push
or you can do this:
git add .; git commit -m 'some message' ; git pushAll that matters is the commit message, but you need to input others every time. Even if you enabled autocomplete in bash, you still need to locate to the message and modify it.
You just need to do:
go-hub -m 'some message'And it will do all the things above for you.
This is just a super simple tool, and I'm new to writing GO and CLI. Make sure you really want to add all your changed files before you run this command.
- download from release page
- or build yourself from source code
- or from homebrew
brew tap hankxdev/go-hubbrew install go-hub
