You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you run two add-and-commit actions almost simultaneously, you could get following error.
Error: Error: To https://github.com/foo/bar
! refs/heads/main:refs/heads/main [remote rejected] (cannot lock ref 'refs/heads/main': is at a0d18c45d2641f53c5fbc5fee82a79c506443bbc but expected 4826ed03d4ae9264964fd6e2c9df73cbf9413b92)
Done
Even though you use pull: rebase --auto-stash option this could happen.
This case is quite rare but can happen indeed.
So I suggest some retry logic for this case.
If it's acceptable I can PR too
The text was updated successfully, but these errors were encountered:
If you run two add-and-commit actions almost simultaneously, you could get following error.
Even though you use
pull: rebase --auto-stash
option this could happen.This case is quite rare but can happen indeed.
So I suggest some retry logic for this case.
If it's acceptable I can PR too
The text was updated successfully, but these errors were encountered: