Added (Check Duplicates Before Adding New User)

master
Abanoub Hany 2024-07-02 16:13:56 +03:00
parent c4ee890e95
commit 6cfbae0495
1 changed files with 1 additions and 2 deletions

View File

@ -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