Skip to content

Instantly share code, notes, and snippets.

@saro0h
Created January 25, 2016 10:24
Show Gist options
  • Save saro0h/33711a6dc6201b45eb6f to your computer and use it in GitHub Desktop.
Save saro0h/33711a6dc6201b45eb6f to your computer and use it in GitHub Desktop.
[color]
branch = auto
diff = auto
status = auto
interactive = auto
[alias]
st = status
ci = commit
co = checkout
br = branch
lg = log --graph --pretty=tformat:'%Cred%h%Creset -%C(yellow)%d%Creset%s %Cgreen(%an %cr)%Creset' --abbrev-commit --date=relative
logfull = log --pretty=fuller --graph --stat -p
cat = cat-file -p
unstage = reset HEAD
uncommit = update-ref HEAD HEAD^
uncommithard = reset --hard HEAD^
undomerge = reset --hard ORIG_HEAD
oups = commit --amend -C HEAD
lga = log --graph --pretty=tformat:'%Cred%h%Creset -%C(yellow)%d%Creset%s %Cgreen(%an %cr)%Creset' --abbrev-commit --date=relative --all
cob = checkout -b
cim = commit -m
rere = rebase -i HEAD~2
[branch]
autosetupmerge = true
[user]
name = sarah khalil
email = [email protected]
[core]
autocrlf = input
editor = vim
excludesfile = ~/.gitignore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment