An open API service indexing awesome lists of open source software.

https://github.com/wk1/custom-git-commands

Custom git commands
https://github.com/wk1/custom-git-commands

config personal shell

Last synced: 10 months ago
JSON representation

Custom git commands

Awesome Lists containing this project

README

          

These are just some minor shortcuts I use for git to make my life easier.

## Usage

Download the repo and permanently add the commands to your path with (for zsh):

`echo -n '\nexport PATH=$PATH:[Repo Directory]' >> ~/.zshrc`

e.g.

`echo -n '\nexport PATH=$PATH:~/Developer/CustomGit' >> ~/.zshrc`

Afterwards you can use theses commands just like normal git commands like

`git finish`

or

`git publish`

...

## Adding custom commands

Just create a new file `git-commandname` add your desired code to the file and make it executable with `chmod +x git-commandname`. Since you already added the repo folder to you path you should be able to use it right away. (For existing sessions you might need to source your zshrc again by calling `zsh` or `source ~/.zshrc`)