Last active
October 9, 2015 12:57
-
-
Save djGrill/3508902 to your computer and use it in GitHub Desktop.
Git config -- UPDATE: I'm now only making use of Shell aliases: https://gist.github.com/djGrill/64b2dedac8c119e1e149
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[user] | |
name = David Grilli | |
[color] | |
ui = true | |
[heroku] | |
remote = staging | |
[alias] | |
a = add | |
au = add --update | |
ba = branch -a | |
bd = branch -d | |
c = commit | |
ca = commit -a | |
caa = commit -a --amend | |
co = checkout | |
co- = checkout -- | |
cob = checkout -b | |
cod = checkout dev | |
com = checkout master | |
cp = cherry-pick | |
d = diff | |
ds = diff --staged | |
l = log --graph --all --format=format:'%C(bold blue)%h%C(reset)%C(bold yellow)%d%C(reset)'' %C(white)%s%C(reset) %C(bold blue)%an, %ar' --abbrev-commit | |
lf = ls-files | |
m = merge | |
md = merge dev | |
mnff = merge --no-ff | |
pf = push -f | |
pg = push github | |
pgd = push github dev | |
pgm = push github master | |
pfg = push -f github | |
pfgd = push -f github dev | |
pfgm = push -f github master | |
pgt = push github --tags | |
ps = push staging | |
psd = push staging dev:master | |
psm = push staging master | |
pfs = push -f staging | |
pfsd = push -f staging dev:master | |
pfsm = push -f staging master | |
pp = push production | |
ppm = push production master | |
pfp = push -f production | |
pfpm = push -f production master | |
pr = pull --rebase | |
prg = pull --rebase github | |
prgd = pull --rebase github dev | |
prgm = pull --rebase github master | |
pt = push --tags | |
r = reset | |
rh = reset --hard | |
rs = reset --soft | |
rmr = rm -r | |
s = stash | |
sa = stash apply | |
sd = stash drop | |
sl = stash list | |
sp = stash pop | |
ss = stash save | |
suno = status -suno | |
t = tag | |
ta = tag -a | |
td = tag -d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment