Skip to content

Commit

Permalink
fix(zsh): override gfo alias
Browse files Browse the repository at this point in the history
add --prune for forked or archived repo as I don't want to also fetch
secodary remote (respectively, "root" and "vX") but still need to
delete refs to branches that no longer exist on remote, and don't
need to bother with too complexe tags
  • Loading branch information
nweldev committed Aug 16, 2023
1 parent 95c88b6 commit 143652c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions zsh/.zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,9 @@ alias grbpx="grbp --interactive --autosquash"
### rebase and reset author while preserving committer date
alias grbra="git -c rebase.instructionFormat='%s%nexec GIT_COMMITTER_DATE=\"%cD\" GIT_AUTHOR_DATE=\"%aD\" git commit --amend --no-edit --reset-author' rebase"

### omz overrides
alias gfo='git fetch origin --prune'

# Perl

PATH="$HOME/perl5/bin${PATH:+:${PATH}}"; export PATH;
Expand Down

0 comments on commit 143652c

Please sign in to comment.