Skip to content

Commit

Permalink
Update gitconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
Igor Ranieri Elland committed Feb 1, 2013
1 parent da5e30e commit b5a60b7
Showing 1 changed file with 33 additions and 15 deletions.
48 changes: 33 additions & 15 deletions gitconfig
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@
[diff] [diff]
[color] [color]
ui = auto ui = auto
[core] [branch "master"]
editor = vim remote = origin
merge = refs/heads/master
rebase = true
autosetuprebase = always
[alias] [alias]
co = !git checkout co = !git checkout
a = !git add . -vA a = !git add . -vA
Expand All @@ -30,27 +33,42 @@
ds = diff --stat=160,120 ds = diff --stat=160,120
dh1 = diff HEAD~1 dh1 = diff HEAD~1


# Divergence (commits we added and commits remote added) # Divergence (commits we added and commits remote added)
div = divergence div = divergence


# Goodness (summary of diff lines added/removed/total) # Goodness (summary of diff lines added/removed/total)
gn = goodness gn = goodness
gnc = goodness --cached gnc = goodness --cached


# Fancy logging. # Fancy logging.
# h = head # h = head
# hp = head with patch # hp = head with patch
# r = recent commits, only current branch # r = recent commits, only current branch
# ra = recent commits, all reachable refs # ra = recent commits, all reachable refs
# l = all commits, only current branch # l = all commits, only current branch
# la = all commits, all reachable refs # la = all commits, all reachable refs
head = !git l -1 head = !git l -1
h = !git head h = !git head
hp = "!source ~/.githelpers && show_git_head" hp = "!. ~/.githelpers && show_git_head"
r = !git l -30 r = !git l -30
ra = !git r --all ra = !git r --all
l = "!source ~/.githelpers && pretty_git_log" l = "!. ~/.githelpers && pretty_git_log"
la = !git l --all la = !git l --all

lng = "!. ~/.githelpers && pretty_git_log_no_graph"
lgn = lng
rc = rebase --continue
pug = push github github:master
[merge] [merge]
tool = vimdiff tool = Kaleidoscope
[difftool "Kaleidoscope"]
cmd = ksdiff --partial-changeset --relative-path \"$MERGED\" -- \"$LOCAL\" \"$REMOTE\"
[diff]
tool = Kaleidoscope
[difftool]
prompt = false
[mergetool "Kaleidoscope"]
cmd = ksdiff --merge --output \"$MERGED\" --base \"$BASE\" -- \"$LOCAL\" --snapshot \"$REMOTE\" --snapshot
[mergetool]
prompt = false
[core]
excludesfile = /Users/elland/.gitignore

0 comments on commit b5a60b7

Please sign in to comment.