Just stumbled upon a bug when opening the GIT project in UiPath, yesterday everything was fine and my branch was selected but when I opened it today, there was no active branch.
First thing I decided to do was to change the branch, however then this error popped up.
However since there is no branch it was impossible to commit changes
I don’t know the steps to reproduce it since I haven’t done anything special between yesterday and today.
However it’s easy to fix:
- Open console in the project folder
- Checkout branch with git checkout <branch_name>