Skip to content

Commit

Permalink
Add cookies.
Browse files Browse the repository at this point in the history
  • Loading branch information
maruel committed Mar 14, 2015
1 parent 3540d25 commit ffb241d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion configs/.gitconfig
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,10 @@
; Blames a for a few files. The length of arguments is relatively limited, it'll
; fail after ~100 files or so, depending on the actual string (total file names)
; length.
blamefiles = "!foo() { for i in \"$@\"; do git blame --date=short -C $i | cut -d '(' -f 2 | cut -d ' ' -f 1; done | sort -f | uniq -ic | sort -nr; }; foo"
blamefiles = "!foo() { for i in \"$@\"; do git blame --date=short -C $i | cut -d '(' -f 2 | cut -d ' ' -f 1; done | sort -f | uniq -ic | sort -nr }; foo"
blamefile = "!foo() { git blame --date=short -C $@ | cut -d '(' -f 2 | cut -d ' ' -f 1 | sort -f | uniq -ic | sort -nr; }; foo"
new = "!f() { git fetch && git checkout -b $@ origin/master; }; f"
df = "!git difftool \"$(git ancestor)\" -- "
[push]
default = current
[mergetool "autodiff"]
Expand All @@ -67,3 +69,5 @@
keepBackup = false
[mergetool "vimdiffnice"]
cmd = vimdiff -c \"wincmd J\" -c \"0\" $MERGED $LOCAL $BASE $REMOTE
[http]
cookiefile = /home/maruel/.gitcookies

0 comments on commit ffb241d

Please sign in to comment.