Added (Check Duplicates Before Adding New User)
parent
c4ee890e95
commit
6cfbae0495
|
@ -16,8 +16,7 @@ if [ ! -d "$TARGET_DIR" ]; then
|
||||||
else
|
else
|
||||||
echo "Directory $TARGET_DIR already exists. Stashing local changes and pulling the latest changes."
|
echo "Directory $TARGET_DIR already exists. Stashing local changes and pulling the latest changes."
|
||||||
cd $TARGET_DIR
|
cd $TARGET_DIR
|
||||||
git config --global --add safe.directory $TARGET_DIR
|
git config --add safe.directory $TARGET_DIR
|
||||||
git stash
|
|
||||||
git pull
|
git pull
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue