Added (Check Duplicates Before Adding New User)
parent
362df10602
commit
c4ee890e95
|
@ -16,6 +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 stash
|
git stash
|
||||||
git pull
|
git pull
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue