Update aliases
This commit is contained in:
parent
9767cdd724
commit
215e03aa34
17
aliases
17
aliases
|
@ -95,6 +95,8 @@ alias rb='rbenv'
|
|||
alias rbg='rbenv gemset active'
|
||||
alias rbp='cd $RBENV_PATH/versions/$(rbenv version | sed -e "s/ (set.*$//")'
|
||||
alias rbl='cd $RBENV_PATH/versions/$(rbenv version | sed -e "s/ (set.*$//")/lib/ruby'
|
||||
alias rc='rclone'
|
||||
alias rcc='rclone copy'
|
||||
|
||||
function reload {
|
||||
if [[ $platform == 'Linux' || $platform == 'Darwin' ]]; then
|
||||
|
@ -157,6 +159,7 @@ alias gcl='git clone'
|
|||
alias gcm="git commit -m"
|
||||
alias gcms="git commit -S -m"
|
||||
alias gco='git checkout'
|
||||
alias gco-='git checkout -'
|
||||
alias gcob='git checkout -b'
|
||||
alias gcon='vi .git/config'
|
||||
alias gcp='git cherry-pick'
|
||||
|
@ -171,6 +174,7 @@ alias gdw='git diff --color-words'
|
|||
alias gf='git fetch'
|
||||
alias gfa='git fetch --all'
|
||||
alias gfix="git commit --amend -C HEAD"
|
||||
alias gfixx="git commit --amend -C HEAD ; gp -f"
|
||||
alias gfixs="git commit -S -a --amend -C HEAD" # signed
|
||||
alias gfo='git fetch origin'
|
||||
alias gfm='git fetch origin master'
|
||||
|
@ -237,12 +241,13 @@ alias gsdl='git stash drop stash@{0}'
|
|||
alias gsl='git stash list'
|
||||
alias gsi='git stash -p'
|
||||
alias gsp='git stash pop'
|
||||
alias gsp1='git stash pop stash@{0}'
|
||||
alias gsp2='git stash pop stash@{1}'
|
||||
alias gsp3='git stash pop stash@{2}'
|
||||
alias gsp4='git stash pop stash@{3}'
|
||||
alias gsp5='git stash pop stash@{4}'
|
||||
alias gsp6='git stash pop stash@{5}'
|
||||
alias gsp0='git stash pop stash@{0}'
|
||||
alias gsp1='git stash pop stash@{1}'
|
||||
alias gsp2='git stash pop stash@{2}'
|
||||
alias gsp3='git stash pop stash@{3}'
|
||||
alias gsp4='git stash pop stash@{4}'
|
||||
alias gsp5='git stash pop stash@{6}'
|
||||
alias gsp6='git stash pop stash@{7}'
|
||||
alias gt='git tag'
|
||||
alias gta='git tag -a'
|
||||
alias gtd='git tag -d'
|
||||
|
|
Loading…
Reference in New Issue
Block a user