-
-
Save bipinu/9027135 to your computer and use it in GitHub Desktop.
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
[user] | |
name = [name for commits] | |
email = [email for commits] | |
[github] | |
user = [GH username] | |
token = [API token from https://github.com/account/admin] | |
[color] | |
ui = auto | |
interactive = auto | |
[push] | |
default = simple | |
[alias] | |
s = status | |
c = commit | |
f = fetch | |
ass = !git add . && git status | |
ch = checkout | |
ci = commit | |
cm = commit -m | |
acm = !git add . && git commit -m | |
l = log --graph --pretty=format:'%C(yellow)%h%C(cyan)%d%Creset %s %C(white)- %an, %ar%Creset' | |
ls = log --stat --graph --pretty=format:'%C(yellow)%h%C(cyan)%d%Creset %s %C(white)- %an, %ar%Creset' | |
dc = diff --color-words | |
dcr = diff --color-words head origin | |
alias = !git config --list | grep 'alias\\.' | sed 's/alias\\.\\([^=]*\\)=\\(.*\\)/\\1\\\t => \\2/' | sort | |
pushall = !git remote | xargs -L1 git push --all | |
pall = !git remote | xargs -L1 git push --all | |
[core] | |
excludesfile = /Users/bipin/.gitignore | |
legacyheaders = false # >git 1.5 | |
quotepath = false | |
# http://stackoverflow.com/questions/136178/git-diff-handling-long-lines | |
# if ↑ doesn’t work, try: pager = less -+$LESS -FRX | |
pager = less -r | |
editor = /usr/bin/vim | |
[repack] | |
usedeltabaseoffset = true # >git 1.5 | |
[diff] | |
# git does copy/rename *detection*. if you want it to track copies/renames: | |
# http://stackoverflow.com/questions/1043388/record-file-copy-operation-with-git | |
# renames = copies |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment