[alias]
ci = commit
co = checkout
st = status
info = status
svn-diff = !git-svn-diff
l = log --graph --pretty=format':%C(yellow)%h%Cblue%d%Creset %s %C(white) %an, %ar%Creset'
lol = log --pretty=oneline --abbrev-commit --graph --decorate
unstage = reset HEAD
staged = diff --cached
unstaged = diff
current-branch = !git symbolic-ref -q HEAD | sed -e 's|^refs/heads/||'
# Usage: git track origin/feature-123-login-form
track = checkout -t
[apply]
whitespace = warn
[color]
diff = auto
status = auto
branch = auto
ui = true
[help]
autocorrect = 1
[status]
submodule = 1
[push]
# Only push branches that have been set up to track a remote branch.
default = current
[core]
# global .gitignore file
excludesfile = ~/.gitignore
Created
September 12, 2012 20:12
-
-
Save xentek/3709555 to your computer and use it in GitHub Desktop.
my current ~/.gitconfig
.DS_Store
*.swp
.svn
Thumbs.db
Thumbs.db.encrypted
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I also recommend taking a look at these git add-ons: