2025-01-02 10:03:49
This commit is contained in:
@@ -0,0 +1,14 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Navigate to the repository
|
||||||
|
cd ~/dotfiles || exit
|
||||||
|
|
||||||
|
# Check for changes
|
||||||
|
if [[ $(git status --porcelain) ]]; then
|
||||||
|
# There are changes, commit them
|
||||||
|
git add .
|
||||||
|
git commit -m "$(date +"%Y-%m-%d %H:%M:%S")"
|
||||||
|
git push
|
||||||
|
else
|
||||||
|
echo "No changes to commit."
|
||||||
|
fi
|
||||||
Reference in New Issue
Block a user