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