This commit is contained in:
Your Name 2024-07-25 18:45:13 -04:00
parent ee01871a9f
commit 0a347bde62
2 changed files with 17 additions and 1 deletions

View File

@ -19,3 +19,19 @@ squash_fixups() {
echo "Interactive rebase initiated to squash commits starting with 'fixup!'."
}
# Function to stage changes, commit with 'fixup!', and push
push_fixup() {
# Ensure we are in a git repository
if ! git rev-parse --is-inside-work-tree > /dev/null 2>&1; then
echo "Not inside a git repository."
return 1
fi
# Stage all changes, commit with 'fixup!', and push
git add .
git commit -m 'fixup!'
git push
echo "Changes staged, committed with 'fixup!', and pushed."
}

View File

@ -1 +1 @@
3dd9a3855d3c9b1537c16f50b62a960eed969840ce531d4946d09b52e0690f82
b1eb4d54c3623dfdaef8293ce8fa2bfdb1397d59d135711e43a5a21e882cc2ed