move udot submodule update after git pull
This commit is contained in:
@@ -19,11 +19,6 @@ udot() {
|
|||||||
echo -e "$info"
|
echo -e "$info"
|
||||||
echo -e ""
|
echo -e ""
|
||||||
|
|
||||||
echo -e "Update submodules..."
|
|
||||||
git submodule init
|
|
||||||
git submodule update
|
|
||||||
echo -e ""
|
|
||||||
|
|
||||||
if [ -z "$status" ]; then
|
if [ -z "$status" ]; then
|
||||||
echo -e "Local changes:"
|
echo -e "Local changes:"
|
||||||
echo -e "$gstatus"
|
echo -e "$gstatus"
|
||||||
@@ -41,6 +36,10 @@ udot() {
|
|||||||
cd $cwd
|
cd $cwd
|
||||||
fi
|
fi
|
||||||
echo -e ""
|
echo -e ""
|
||||||
|
echo -e "Update submodules..."
|
||||||
|
git submodule init
|
||||||
|
git submodule update
|
||||||
|
echo -e ""
|
||||||
}
|
}
|
||||||
|
|
||||||
# will attach to existing tmux session, create new if one does not exist or just start bash if there is no tmux available.
|
# will attach to existing tmux session, create new if one does not exist or just start bash if there is no tmux available.
|
||||||
|
|||||||
Reference in New Issue
Block a user