Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to use if the branch is not main #2

Closed
abranhe opened this issue May 12, 2023 · 0 comments · Fixed by #3
Closed

Unable to use if the branch is not main #2

abranhe opened this issue May 12, 2023 · 0 comments · Fixed by #3

Comments

@abranhe
Copy link
Contributor

abranhe commented May 12, 2023

I was playing around with this project and I noticed that it does not work for branches different than main.

deto-screenshot
The error
Error getting git diff
[Error: Command failed: git diff --name-only main
fatal: ambiguous argument 'main': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
](gray)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant