Go & Git

About

Go Git is a CLI tool aiming to reduce the verbosity of common git command while making it more customizable.

How to Set Up

  • Download the go-git-it repo from here.
  • After extracting, rename .env-example to .env (inside src folder).
  • "git init" inside a new folder and copy it’s absolute path.
  • Paste the path of the folder in .env as "VSC_FOLDER_PATH".
  • Set an alias inside .bashrc or .zshrc as:
    alias your_preferred_program_name="/location/to/go-git-it/build/main"

How to build

Any Go dev is welcome to make any change as per their liking.
To build the project as it is:

  • cd into the "src" folder of the project
  • Run "go build -o ../build/main". This makes your new build as main inside folder build.

Feature Highlights

  • Showing Bitbucket commits on Git's contribution map.
  • Setting up custom command aliases. E.g., git checkout could be gt chk or anything you want to call your command.
  • Auto completing branch name on git checkout.
  • And many more like, simple push or pull doing "git pull origin your-current-branch-name"

No limit on setting up command aliases on git commands. Personalize it to the extent you wish.
Github link : go-git-it