A single # is used for normal comments.
tag = yes
[alias]
- # Shortcuts for often used commands.
+ ## Shortcuts for often used commands.
#
- # Local.
+ ## Local.
c = commit --verbose
ci = commit --verbose
d = diff PATIENCE
a = add
ap = add --patch
au = add --update
- # Branches.
+ ## Branches.
co = checkout
b = branch -a -v
br = branch -a -v
m = merge
me = merge
mo = merge origin/master
- # Remote.
+ ## Remote.
f = fetch
fe = fetch
t = tag
p = push
pu = push
ru = remote update
- # Patches.
+ ## Patches.
fp = format-patch
- # 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
- # Misc.
+ ## Misc.
sl = stash list
ss = stash save
sa = stash apply
ssk = stash save --keep-index
- # Custom commands.
+ ## Custom commands.
#
# tig-like log view.
glog = log --pretty=oneline --graph --all