switching branch triggers an error
See original GitHub issueEvery time I switch to another branch using ‘cmd + b’ within a local repo, I get the following error modal:
A lock file already exists in the repository, which blocks this operation from completing.
I am using a mbp with high sierra 10.13.5 and github desktop 1.2.3
The error can be dismissed without consequence, I just thought you might want to know about it.
The error does not appear when changing branches with point and click in the menus.
I have looked this error up and various sources suggest creating a lock file, then deleting it, but this did not fix the error.
Leon
Issue Analytics
- State:
 - Created 5 years ago
 - Reactions:5
 - Comments:18 (9 by maintainers)
 
Top Results From Across the Web
Switching branch causes compiler error and red filename in ...
No, I added it to the new branch. I have to add it to the master branch as well? Even if it's not...
Read more >A lot of errors after switching branches : RIDER-17479
When switching branches with a lot of changed code, lots of resolving errors occur. Here are examples. 1. Ambiguous reference between the same...
Read more >Visual Studio Hangs When Switching Branch
We ask that if you are still seeing performance issues while switching branches in VS to open a new issue and include: 1)...
Read more >Solving “Fatal: Not A Git Repository” (Or Any Of The Parent ...
In this article, we will explore what causes, how to prevent, and how to solve ... Can't switch between branches; What causes Git...
Read more >VS2022 Performance Enhancements: Git Branch Switching
Users who are switching between branches inside Visual Studio by utilizing the built in Git tooling will experience both performance gains; ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Should I take a screen shot?
No, this is the weird thing (and why I posted it).
I do use phpstorm, which has git integration, but this a new bug since a recent update.
I will investigate if it is phpstorm causing the error.
UPDATE This bug still appears even when phpstorm is closed.