/short-git-cli

A Git CLI for lazy developers who don't like typing

Primary LanguageGoApache License 2.0Apache-2.0

Git CLI for lazy devs

Description

Here you can find some common Git commands aliases.

Of course we could achive this using regular Git aliases, but the purpose of it was to learn how to create a GoLang CLI in something useful for me, and it did the work ;)

Usage

Adding files and commiting

$ gt c Your commit message

This command will add all unstaged files and commit them.
Shortcut for:

$ git add .
$ git commit -m "Your commit message"

Pushing

$ gt ps -b=master

This command will push your branch to origin.
Shortcut for:

$ git push origin master

If you ommit the branch flag the default develop will be assumed.
You can still use -b=m to push to master.