Last active
May 19, 2017 06:45
-
-
Save dfevre/3735383 to your computer and use it in GitHub Desktop.
Favourite git aliases
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git config --global alias.lg "log --graph --pretty=format:'%C(bold blue)%h%C(reset) -%C(auto)%d%Creset %C(white)%s%C(reset) %Cgreen(%cr) %C(dim white)%an%Creset' --abbrev-commit --date=relative" | |
# this one sets Notepad++ as the git editor on Windows. Requires the npp.sh file from https://gist.github.com/3735365#file_npp.sh | |
git config --global core.editor ~/npp.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment