Skip to content

Instantly share code, notes, and snippets.

@W01fw00d
Last active July 20, 2022 12:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save W01fw00d/3968e85706d8bacdac93fab1e25f5469 to your computer and use it in GitHub Desktop.
Save W01fw00d/3968e85706d8bacdac93fab1e25f5469 to your computer and use it in GitHub Desktop.
gitconfig aliases
[alias]
ap = add -p
aa = add .
c = commit
ca = commit --amend --no-edit
cam = commit --amend
cm = checkout master
cd = checkout develop
cf = commit -m "auto code format"
dc = diff --cached
f = fetch
fo = fetch origin
mm = merge origin/master
pl = pull
ph = push
pho = "!git push --set-upstream origin \"$(git rev-parse --abbrev-ref HEAD)\""
r = reflog
s = status
sl = stash list
ss = stash save
sse = stash save "Env. hack"
ssul = stash save "Unwanted lint:fix"
sa = stash apply
sp = stash pop
deploy = push heroku master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment