Created
January 19, 2012 05:35
-
-
Save ankit/1638191 to your computer and use it in GitHub Desktop.
My ~/.gitconfig
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
# ~/.gitconfig | |
# credits: https://gist.github.com/1637874 | |
[alias] | |
s = status | |
df = diff --color-words | |
co = checkout | |
cm = commit -am | |
l = log --graph --pretty=format:'%C(yellow)%h%C(cyan)%d%Creset %s %C(white)- %an, %ar%Creset' | |
alias = !git config --list | grep 'alias\\.' | sed 's/alias\\.\\([^=]*\\)=\\(.*\\)/\\1\\\t => \\2/' | sort | |
[core] | |
pager = less | |
[color] | |
ui = auto # covers diff = true, status = auto, branch = auto | |
interactive = auto | |
[user] | |
name = [name] | |
email = [email] | |
[github] | |
user = [github username] | |
token = [github token] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment