-
-
Save bipinu/9027135 to your computer and use it in GitHub Desktop.
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
| [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 | |
| fp = !git fetch --all && git pull --all | |
| 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 | |
| [color] | |
| ui = auto | |
| interactive = auto | |
| [filter "media"] | |
| required = true | |
| clean = git media clean %f | |
| smudge = git media smudge %f | |
| [difftool "sourcetree"] | |
| cmd = opendiff \"$LOCAL\" \"$REMOTE\" | |
| path = | |
| [filter "hawser"] | |
| clean = git hawser clean %f | |
| smudge = git hawser smudge %f | |
| required = true | |
| [filter "lfs"] | |
| required = true | |
| clean = git-lfs clean -- %f | |
| smudge = git-lfs smudge -- %f | |
| process = git-lfs filter-process | |
| [commit] | |
| template = ~/.stCommitMsg | |
| [pull] | |
| ff = only | |
| [tag] | |
| sort = -v:refname |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment