Last active
February 21, 2017 11:40
-
-
Save hkorpi/9d8aebd262eb9bcead62133cce1dff22 to your computer and use it in GitHub Desktop.
git configuration
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
#!/bin/bash | |
# this configuration contains my personal git config - this can be executed using curl: | |
# source <(curl -s https://gist.githubusercontent.com/hkorpi/9d8aebd262eb9bcead62133cce1dff22/raw/7bce1670c14b58e5e64936f704cb17b5fd10a228/git-config.sh) | |
# use vi as default git editor | |
git config --global core.editor vi | |
# a better git log - https://coderwall.com/p/euwpig/a-better-git-log | |
git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment