A collection of useful or not-so-useful Git aliases collected over time.
To add these aliases to your Git setup, first get a copy of the included gitconfig file in this repository by whichever means you prefer. Some suggestions:
-
Cloning this repository
git clone https://github.com/vipera/gitalias
-
Using wget, for example:
wget -O vipera_gitalias https://github.com/vipera/gitalias/blob/master/gitconfig
Git 1.7.10+
Assuming you have a sufficiently recent version of Git installed (1.7.10), simply add a path to the gitconfig from this repository to your include.path
. For example, with git config --system
:
git config --system include.path '/path/to/gitalias/gitconfig'
Alternatively, directly edit a Git config file (e.g. /etc/gitconfig to have these aliases globally available):
[include]
path = /path/to/gitalias/gitconfig
If you have an older version of Git include won't work, but you can copy the aliases in the provided gitconfig file into your own git config.
This project is licensed under the MIT License - see the LICENSE.md file for details
- Thanks to Jason Crome's personal Git aliases,
unstage
andstandup
are in the selection.