.g
This commit is contained in:
parent
a1e6763a31
commit
c653009ae3
1 changed files with 2 additions and 2 deletions
4
.zshrc
4
.zshrc
|
@ -341,10 +341,10 @@ __alias__() {
|
|||
alias gcm="git commit -m"
|
||||
alias gpu="git push --recurse-submodule=on-demand"
|
||||
gsu() {
|
||||
echo "-- pulling submodules --"
|
||||
git submodule foreach git pull --recurse-submodule
|
||||
echo_info "-- pulled submodules --"
|
||||
echo "-- updating submodules --"
|
||||
git submodule update --init --recursive
|
||||
echo_info "-- updated submodules --"
|
||||
git diff . &&
|
||||
git add .
|
||||
sleep 0.3
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue