stefanzweifel / git-auto-commit-action

Automatically commit and push changed files back to GitHub with this GitHub Action for the 80% use case.
MIT License
1.96k stars 226 forks source link

Add `skip_checkout` option #197

Closed cmbuckley closed 2 years ago

cmbuckley commented 2 years ago

Add an option to skip git checkout when a branch is provided. This makes it possible to mimic the following flow:

git checkout initial-branch
git add $stuff
git commit -m $message
git push -f origin HEAD:new-branch