A collection of useful git aliases for enhanced productivity.
-
Clone this repository into your home directory:
cd ~ git clone git@github.com:jlopinto/git-aliases.git
-
Add the following lines to your
~/.bashrc,~/.profile, or~/.bash_profile:if [ -f "$HOME/git-aliases/git-aliases.sh" ]; then . "$HOME/git-aliases/git-aliases.sh" fi
-
To immediately apply these aliases, you can either:
- Run
source ~/.bashrc - or simply close and restart your terminal.
- Run