Created
April 24, 2018 21:12
-
-
Save ernstki/2e392205bade93fa5a1f886e9effda00 to your computer and use it in GitHub Desktop.
.gitconfig essentials
This file contains hidden or 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
# Use 'vimdiff' as the diff tool. See also git-diff(1) | |
# '-y' means don't prompt for every invocation | |
git config --global alias.vimdiff 'difftool -y -t vimdiff' | |
# A concise, formatted commit log | |
# Source: https://www.youtube.com/watch?v=W39CfI3-JFc | |
git config --global alias.lol 'log --graph --all --decorate --oneline' | |
# Colorize output (really helpful) | |
# Source: https://rogerdudler.github.io/git-guide/#hints | |
git config --global color.ui true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment