mirror of
https://github.com/nmasur/dotfiles
synced 2024-12-24 17:44:52 +00:00
some git aliases
This commit is contained in:
parent
72b70b8ae3
commit
e64832cdf5
@ -12,10 +12,18 @@ function aliases --description 'All aliases'
|
||||
# Git
|
||||
abbr -a gs 'git status'
|
||||
abbr -a gd 'git diff'
|
||||
abbr -a ga 'git add -A'
|
||||
abbr -a gds 'git diff --staged'
|
||||
abbr -a ga 'git add'
|
||||
abbr -a gaa 'git add -A'
|
||||
abbr -a gc 'git commit -m'
|
||||
abbr -a gu 'git pull'
|
||||
abbr -a gp 'git push'
|
||||
abbr -a gl 'git log --graph --decorate --oneline -20'
|
||||
abbr -a gll 'git log --graph --decorate --oneline'
|
||||
abbr -a gco 'git checkout'
|
||||
abbr -a gcob 'git checkout -b'
|
||||
abbr -a gb 'git branch'
|
||||
abbr -a grh 'git reset --hard'
|
||||
abbr -a ghb 'gh repo view -w'
|
||||
|
||||
# Vim
|
||||
|
Loading…
Reference in New Issue
Block a user