gitlab、githubでgit pullすると「fatal: This operation must be run in a work tree」と出る

gitlabでgit pullすると「fatal: This operation must be run in a work tree」と表示されるのでググってみたら
同じような人がいて
https://teratail.com/questions/109664

.gitディレクトリ内でgitコマンドを実行するなとのこことでした。
あ〜たしかにそこでコマンド打ってた・・・

シェアする

  • このエントリーをはてなブックマークに追加

フォローする