Skip to content
hankxdevPublic

About

a simple command-line tool in go to add, commit and push changes with one line command

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

38 Commits

Folders and files

Repository files navigation

Gohub - add, commit and push with one line command

This is just a super simple tool written in Golang to commit and push code at the same time.

Without it, if you want to commit and push your code

  • git add .
  • git commit -m 'some message'
  • git push

or you can do this:

git add .; git commit -m 'some message' ; git push

All 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.

with Gohub

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.

installation

  • download from release page
  • or build yourself from source code
  • or from homebrew
    • brew tap hankxdev/go-hub
    • brew install go-hub

About

a simple command-line tool in go to add, commit and push changes with one line command

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

⌂ 换网址