update gSu

Safe for branches not named "master".

And with this method, we can add any remote and branch name after it such as "origin master" or "upstream main".
This commit is contained in:
hidekuro 2021-05-17 13:51:27 +09:00 committed by GitHub
parent b14aca307d
commit afb466c871
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -253,7 +253,7 @@ if ! zstyle -t ':prezto:module:git:alias' skip 'yes'; then
alias gSl='git submodule status'
alias gSm='git-submodule-move'
alias gSs='git submodule sync'
alias gSu='git submodule foreach git pull origin master'
alias gSu='git submodule foreach git pull'
alias gSx='git-submodule-remove'
# Tag (t)