I’m having issue checking out branch due to error code:
Switching branches is not possible because the file ‘.local.globalvariables.tmp\GlobalVariablesT1PNoYwrqg.dll’ is in use. Please close any program that is using it and try again.
Problem is, I’m trying to do this from UiPath Studio and somehow it’s using the file and preventing me to switch branch.
I’ve tried cloning the code from remote to local in different folders and still facing the same issue.
It’s company code so I’ll need to check first with my supervisor.
To give more context, we use Gitlab and UiPath 2023 with on-prem Orchestrator.
My daily routine is generally as follows:
At start of the day, checkout latest code from Gitlab repo into a new folder
By default, master branch is downloaded
There’s always a few changes to undo before I can change to dev branch
Code change throughout the day on dev branch
At the end of the day, publish to orchestrator then push commit to Gitlab
So I have multiple local folders backdating to different days code was checked out.
The error begin happening one morning where I checkout latest code and unable to change branch. There’s also no changes to undo when this happens.
I’ve tried checking out the code multiple times to separate folders to no avail.
Current workaround is to use the last working folder already connected to git on dev branch.
I’m still able to publish to orchestrator and commit to gitlab in this manner.
Merge request from dev to master is done on Gitlab by another team member.