Skip to content

Instantly share code, notes, and snippets.

@Sanne
Last active September 27, 2015 11:48
Show Gist options
  • Save Sanne/1264696 to your computer and use it in GitHub Desktop.
Save Sanne/1264696 to your computer and use it in GitHub Desktop.
gitconfig
[core]
editor = gedit
[merge]
tool = meld
[color]
ui = yes
[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
[user]
name = Sanne Grinovero
email = [email protected]
[alias]
co = checkout
undo = reset --hard
cb = checkout -b
br = branch
cp = cherry-pick
cip = commit -p
st = status
l = log --pretty=oneline --decorate --abbrev-commit
lg = log --decorate --abbrev-commit
last = log --decorate -1 -p --abbrev-commit
ci = commit -a
pom = push origin master
graph = log --pretty=oneline --graph --abbrev-commit
dt = difftool
rb = rebase -i HEAD~30
rbm = rebase -i master
uncommit = reset --soft HEAD^
fix = commit -m "fix"
superreset = clean -fdx
fa = fetch --all --prune
g = !gitg
test = !mvn -o test
install = !mvn -o install
[url "https://github.com/"]
insteadOf = "gh:"
[merge]
mergeoptions = --ff-only
[github]
user = Sanne
[rerere]
autoupdate = 1
enabled = 1
[push]
default = current
[receive]
denyNonFastForwards = 1
updateserverinfo = 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment