Skip to content

Instantly share code, notes, and snippets.

@thedanheller
Last active September 26, 2016 12:39
Show Gist options
  • Save thedanheller/13efde36df12b3b1dffb210621c2cc6f to your computer and use it in GitHub Desktop.
Save thedanheller/13efde36df12b3b1dffb210621c2cc6f to your computer and use it in GitHub Desktop.
Git config and aliases
[filter "lfs"]
clean = git-lfs clean %f
smudge = git-lfs smudge %f
required = true
[user]
email = daniloprates@gmail.com
name = Danilo Prates
[http]
sslVerify = false
[push]
default = current
[alias]
slog = log --all --decorate --oneline
al = config --get-regexp alias
a = add
ac = !git add -A && git commit
co = checkout
b = branch
c = commit
ci = commit
pl = pull
p = pull
pr = pull --rebase
ps = push
ph = push
c = commit
s = status
l = log
cfg = config
st = stash
stn = stash save
sshow = "!f() { git stash show stash^{/$*} -p; }; f"
sapply = "!f() { git stash apply stash^{/$*}; }; f"
rs = reset
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment