Skip to content

Commit

Permalink
Add gunstage_all
Browse files Browse the repository at this point in the history
  • Loading branch information
GMadorell committed Dec 1, 2022
1 parent 2a84774 commit 18e1620
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion zshrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Language flags (set to 1 if you want language specific things to be loaded)
PHP_MODE=0
PYTHON_MODE=1
RUBY_MODE=0
RUBY_MODE=1
JS_MODE=1

# Setup zsh with oh-my-zsh
Expand All @@ -17,6 +17,8 @@ export GOPATH="$HOME/golang_workspace"
export PATH="/usr/local/sbin:/usr/local/bin:bin:/usr/sbin:/sbin:$HOME/bin:/usr/bin:$GOPATH/bin:$HOME/.cargo/bin:$PATH"
export PATH="$HOME/anaconda/bin:$PATH"
export PATH="$HOME/miniconda3/bin:$PATH"
export PATH="$HOME/.rbenv/shims:$PATH"
export PATH="$HOME/.rbenv/bin:$PATH"
export DOTFILES_PATH="$HOME/.dotfiles"
export MANPATH="/usr/local/man:$MANPATH"

Expand Down Expand Up @@ -903,6 +905,8 @@ alias ga="git add"
alias gaa="ga ." # Git add all
alias ga.="ga ."

alias gunstage_all="git restore --staged ."

alias grc="git rebase --continue"

alias grp="git remote prune origin" # Remove branches locally that have already been deleted in the remote
Expand Down

0 comments on commit 18e1620

Please sign in to comment.