1
0
Fork 0
git-shortmaps/shortmaps

45 lines
1.2 KiB
Plaintext

a _git_add :add
A _git_add :add -A
b _git_branch :branch
bv _git_branch :branch -v
B _git_bisect :bisect
Bs _git_bisect :bisect start
Bg _git_bisect :bisect good
Bb _git_bisect :bisect bad
Br _git_bisect :bisect reset
c _git_commit :commit
ca _git_commit :commit --amend
co _git_checkout :checkout
C _git_commit :commit -am
CS _git_commit :commit -S -am
d _git_diff :diff
ds _git_diff :diff --stat
f _git_fetch :fetch
L _git_log :log --show-signature
Ld _git_log :log --show-signature --decorate
Lf _git_log :log --show-signature --first-parent
Lg _git_log :log --show-signature --graph
Lgd _git_log :log --show-signature --graph --decorate
Lm _git_log :log --show-signature --merges
Ln _git_log :log --show-signature --no-merges
m _git_merge :merge
ma : :merge --abort
p _git_push :push
P _git_pull :pull
Pr _git_pull :pull --rebase=preserve
Prp _git_pull |git pull --rebase=preserve && git push
R _git_rebase :rebase
Ri _git_rebase :rebase --interactive
Ra _git_rebase :rebase --abort
Rc _git_rebase :rebase --continue
s : :status --short
S _git_stash :stash
Sa _git_stash :stash apply
Sl _git_stash :stash list
Sp _git_stash :stash pop
Ss _git_stash :stash show
t : tig
T _git_tag :tag
- : :checkout -
-- : |cd "$( git rev-parse --show-toplevel 2>/dev/null )"