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

Error "We could not detect your current branch" when authorizing #28

Closed
kine opened this issue Apr 8, 2022 · 1 comment
Closed

Error "We could not detect your current branch" when authorizing #28

kine opened this issue Apr 8, 2022 · 1 comment
Labels
wontfix This will not be worked on

Comments

@kine
Copy link

kine commented Apr 8, 2022

One my developer is experiencing this error:

We could not detect your current branch. Your repository could be in detached head state. Please, check out to an actual branch, and then retry.

when trying to authorize. We have tried first in workspace with two apps, but even when opening only the folder with one app.

Before I finish writing of this issues, we have tried to update git from 2.19 to latest and it solved the problem. Thus, leaving it here for others having same issue.

@vjekob
Copy link
Owner

vjekob commented Apr 28, 2022

Yeah, this is because of Git versions. Ninja issues Git commands to perform Git functionality, and if any commands changed the way it works (or how it returns results) then Ninja won't be able to use such a command. In this case, you used a fairly old version of Git (from November 2019) and since Ninja was built later, it used a newer version of Git.

In any case, I am closing this issue, and anyone can still use the solution proposed by Kine (install a newer version) if you happen to hit the same issue.

@vjekob vjekob closed this as completed Apr 28, 2022
@vjekob vjekob added the wontfix This will not be worked on label May 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants