Commit
This commit is contained in:
@@ -29,6 +29,12 @@ else
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Check if there are any changes to commit
|
||||||
|
if git diff --quiet; then
|
||||||
|
echo "No changes to commit."
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
# Perform git operations
|
# Perform git operations
|
||||||
echo "Adding all changes..."
|
echo "Adding all changes..."
|
||||||
git add .
|
git add .
|
||||||
|
|||||||
Reference in New Issue
Block a user