1
0
Fork 0
git-shortmaps/shortmaps

33 lines
839 B
Plaintext

a _git_add :add
A _git_add :add -A
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
lh _git_log |git log --oneline --decorate --color | head
m _git_merge :merge
ma : :merge --abort
p _git_push :push
P _git_pull :pull
Pr _git_pull :pull --rebase
Prp _git_pull |git pull --rebase && 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
t : tig
T _git_tag :tag
- : :checkout -
-- : |cd "$( git rev-parse --show-toplevel 2>/dev/null )"