Skip to content

Instantly share code, notes, and snippets.

@eloipoch
Created June 12, 2011 02:22
Show Gist options
  • Save eloipoch/1021187 to your computer and use it in GitHub Desktop.
Save eloipoch/1021187 to your computer and use it in GitHub Desktop.
GIT config
[user]
name = Eloi Poch
email = eloi.poch@gmail.com
[core]
autocrlf = input
[color]
ui = true
[alias]
st = status
co = checkout
br = branch
ci = commit
df = diff
dfs = diff --staged
pr = pull --rebase
save = stash save
savem = stash save --keep-index
recover = stash pop --index
recoverf = !git stash show -p | git apply && git stash drop
undo = reset --hard
h = log --graph --date=short --pretty=format:'%Cgreen%h%Creset %Cblue%ad%Creset | %s%Cgreen%d%Creset %C(yellow)[%an]%Creset'
ha = log --graph --date=short --all --pretty=format:'%Cgreen%h%Creset %Cblue%ad%Creset | %s%Cgreen%d%Creset %C(yellow)[%an]%Creset'
[github]
user = eloi.poch
token = xxx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment