mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
Mod git pull
this works for git pull since Git 2.15
This commit is contained in:
@@ -12,13 +12,7 @@ SSH_OPTIONS=-B
|
||||
cd $DEFAULT_DIR
|
||||
cd qet_git
|
||||
# get updates
|
||||
echo -e "\033[1;31m uses the repo submodule (note not yet) n/Y?.\033[m"
|
||||
read a
|
||||
if [[ $a == "Y" || $a == "y" ]]; then
|
||||
git submodule update --init --recursive
|
||||
else
|
||||
git pull
|
||||
fi
|
||||
git pull --recurse-submodules
|
||||
|
||||
GITCOMMIT=$(git rev-parse --short HEAD)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user