A single # is used for normal comments.
- # Shortcuts for often used commands.
+ ## Shortcuts for often used commands.
c = commit --verbose
ci = commit --verbose
d = diff PATIENCE
c = commit --verbose
ci = commit --verbose
d = diff PATIENCE
a = add
ap = add --patch
au = add --update
a = add
ap = add --patch
au = add --update
co = checkout
b = branch -a -v
br = branch -a -v
m = merge
me = merge
mo = merge origin/master
co = checkout
b = branch -a -v
br = branch -a -v
m = merge
me = merge
mo = merge origin/master
f = fetch
fe = fetch
t = tag
p = push
pu = push
ru = remote update
f = fetch
fe = fetch
t = tag
p = push
pu = push
ru = remote update
- # Maintenance. (Redirection of stderr is necessary to prevent missing
- # output with my "color stderr" solution in Zsh.)
+ ## Maintenance.
+ # (Redirection of stderr is necessary to prevent missing output with
+ # my "color stderr" solution in Zsh.)
fs = ! git fsck --strict --full 2>&1
fg = ! git fs && git gc --aggressive 2>&1 # fsck and compress repo
fs = ! git fsck --strict --full 2>&1
fg = ! git fs && git gc --aggressive 2>&1 # fsck and compress repo
sl = stash list
ss = stash save
sa = stash apply
ssk = stash save --keep-index
sl = stash list
ss = stash save
sa = stash apply
ssk = stash save --keep-index
#
# tig-like log view.
glog = log --pretty=oneline --graph --all
#
# tig-like log view.
glog = log --pretty=oneline --graph --all