Skip to content

Instantly share code, notes, and snippets.

@yawnoc
Last active August 14, 2020 04:45
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 yawnoc/deecc1cea4e1ee56d1d0f8f70f645f46 to your computer and use it in GitHub Desktop.
Save yawnoc/deecc1cea4e1ee56d1d0f8f70f645f46 to your computer and use it in GitHub Desktop.
Git aliases for fewer keystrokes in workflow
[alias]
a = add
aa = add --all
ch = checkout
chb = checkout -b
c = commit
cm = commit -m
d = diff
dw = diff --word-diff
dd = diff --word-diff-regex=.
ds = diff --staged
dsw = diff --staged --word-diff
dsd = diff --staged --word-diff-regex=.
l = log
s = status
f = fetch
m = merge
mn = merge --no-ff --no-commit
p = push
sh = show
shw = show --word-diff
shd = show --word-diff-regex=.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment