Created
April 24, 2018 10:03
-
-
Save prashanthrajagopal/7724951553659467599704574dbb85c5 to your computer and use it in GitHub Desktop.
Git Config
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
[core] | |
whitespace = nowarn | |
pager = less -FRSX | |
edito = vim | |
editor = vim | |
whitespace=fix,-indent-with-non-tab,trailing-space#,cr-at-eol | |
autocrlf = input | |
[user] | |
name = Prashanth | |
email = Email | |
[color] | |
ui = auto | |
[color "branch"] | |
current = yellow reverse | |
local = yellow | |
remote = green | |
[color "diff"] | |
meta = yellow bold | |
frag = magenta bold | |
old = red bold | |
new = green bold | |
[color "status"] | |
added = yellow | |
changed = green | |
untracked = cyan | |
[alias] | |
spull = !git-svn fetch && git-svn rebase | |
spush = !git-svn dcommit | |
send = !git spull && git spush | |
co = checkout | |
ci = commit | |
ca = commit -a | |
br = branch | |
st = status | |
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative | |
undo = reset --hard | |
changes=diff --name-status -r | |
diffstat=diff --stat -r | |
serve = daemon --reuseaddr --verbose --base-path=. --export-all ./.git | |
whois = "!sh -c 'git log -i -1 --pretty=\"format:%an <%ae>\n\" --author=\"$1\"' -" | |
whatis = show -s --pretty='tformat:%h (%s, %ad)' --date=short | |
edit-unmerged = "!f() { git ls-files --unmerged | cut -f2 | sort -u ; }; gedit `f`" | |
add-unmerged = "!f() { git ls-files --unmerged | cut -f2 | sort -u ; }; git add `f`" | |
[giggle] | |
main-window-maximized = true | |
main-window-geometry = 700x550+66+24 | |
history-view-vpane-position = 281 | |
main-window-view = HistoryView | |
file-view-vpane-position = 460 | |
[push] | |
default = simple | |
[filter "media"] | |
clean = git media clean %f | |
smudge = git media smudge %f | |
required = true | |
[filter "lfs"] | |
clean = git lfs clean %f | |
smudge = git lfs smudge %f | |
required = true | |
[credential] | |
helper = osxkeychain |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment