1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

A lock file already exists in the repository, which blocks this operation from completingの(個人的)解決法

Last updated at Posted at 2022-09-21

動作環境

  • MacBook Pro Intel Core i5 Monterey version 12.0.1
  • GitHub Desktop Version 3.0.7 (x64)

背景

arfoundation-paintGameというリポジトリでGitHub Desktopを使って、あるブランチにコミットしようとしたらA lock file already exists in the repository, which blocks this operation from completingのエラーが出た。

解決方法

スクリーンショット 2022-09-21 16.16.31.png
対象リポジトリで隠しファイルを表示(Macの場合commandshift.)して、.gitの中にあるindex.lockを消せば解決した。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?