Skip to content

wk1/custom-git-commands

Repository files navigation

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)

About

Custom git commands

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors