[bin] Add auto push to rekey
This commit is contained in:
@ -58,7 +58,8 @@ if [[ -d "$DOTFILES_DIR/.git" ]]; then
|
||||
|
||||
if ! git diff --cached --quiet; then
|
||||
git commit -m "$COMMIT_MSG"
|
||||
echo "Dotfiles committed: $COMMIT_MSG"
|
||||
git push
|
||||
echo "Dotfiles committed & pushed: $COMMIT_MSG"
|
||||
else
|
||||
echo "No dotfiles changes to commit"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user