Occasionally when I bring Fork to the foreground and press the Commit and Push button immediately, I will get the error mentioned in the title. This is probably caused by the automatic fetch (triggered by bringing the app to the foreground) creating a lock file and the commit command being started without waiting for it to finish (Because retrying the commit right after always works). I think it would be better to wait for previous commands in the same repo to complete.
There is also a similar error when I "Commit and Push" and then immediately want to "Push and create pull request" which would also be solved by serialising these commands.
Occasionally when I bring Fork to the foreground and press the Commit and Push button immediately, I will get the error mentioned in the title. This is probably caused by the automatic fetch (triggered by bringing the app to the foreground) creating a lock file and the commit command being started without waiting for it to finish (Because retrying the commit right after always works). I think it would be better to wait for previous commands in the same repo to complete.
There is also a similar error when I "Commit and Push" and then immediately want to "Push and create pull request" which would also be solved by serialising these commands.