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

Properly disambiguate between branch or file checkout #199

Closed kenodegard closed 2 years ago

kenodegard commented 2 years ago

This fixes the case for where a repo contains a directory/file that happens to be the same as the branch name and git checkout is unable to properly disambiguate and needs extra help.

The issue is fully outlined here: https://stackoverflow.com/a/60875971