From 215e03aa342bb3ebcb24be838aab651e96da5769 Mon Sep 17 00:00:00 2001 From: Michael Campagnaro Date: Mon, 21 Aug 2017 14:26:38 -0400 Subject: [PATCH] Update aliases --- aliases | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/aliases b/aliases index 3108e38..bbeb8fe 100644 --- a/aliases +++ b/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'