Skip to content

Instantly share code, notes, and snippets.

@hamonangann
Created December 28, 2023 09:24
Show Gist options
  • Save hamonangann/7c89df35352e58c2500162f04a9e2c4b to your computer and use it in GitHub Desktop.
Save hamonangann/7c89df35352e58c2500162f04a9e2c4b to your computer and use it in GitHub Desktop.
run by ./autogitcommit.sh commit-desc
git checkout -b $1
git add src/
git commit -m "$1"
git fetch upstream
git rebase -s resolve upstream/master
git push --force origin $(git rev-parse --abbrev-ref HEAD)
git checkout master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment