Skip to content

Instantly share code, notes, and snippets.

@bkudria
Created July 22, 2008 23:19
Show Gist options
  • Save bkudria/1367 to your computer and use it in GitHub Desktop.
Save bkudria/1367 to your computer and use it in GitHub Desktop.
[core]
editor = nano
pager = less
whitespace = trailing-space,space-before-tab,indent-with-non-tab
[color]
diff = auto
status = auto
branch = auto
interactive = auto
ui = auto
[alias]
push-all = "!for i in $(git config --list | grep -E ^remote\\..+\\.url | sed 's/^remote\\.\\(.*\\)\\.url=.*/\\1/'); do git push $i master; done"
show-remotes = "!for i in $(git config --list | grep -E ^remote\\..+\\.url | sed 's/^remote\\.\\(.*\\)\\.url=.*/\\1/'); do echo $i; done"
ci = commit
checkin = commit
co = checkout
select = add -p
lc = log ORIG_HEAD.. --stat --no-merges
llog = log --date=local
gitkconflict = !gitk --left-right HEAD...MERGE_HEAD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment