[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
|
if ! git diff --cached --quiet; then
|
||||||
git commit -m "$COMMIT_MSG"
|
git commit -m "$COMMIT_MSG"
|
||||||
echo "Dotfiles committed: $COMMIT_MSG"
|
git push
|
||||||
|
echo "Dotfiles committed & pushed: $COMMIT_MSG"
|
||||||
else
|
else
|
||||||
echo "No dotfiles changes to commit"
|
echo "No dotfiles changes to commit"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user