gitlabでgit pullすると「fatal: This operation must be run in a work tree」と表示されるのでググってみたら
同じような人がいて
https://teratail.com/questions/109664
.gitディレクトリ内でgitコマンドを実行するなとのこことでした。
あ〜たしかにそこでコマンド打ってた・・・
WEB制作に必要な技術のメモ
gitlabでgit pullすると「fatal: This operation must be run in a work tree」と表示されるのでググってみたら
同じような人がいて
https://teratail.com/questions/109664
.gitディレクトリ内でgitコマンドを実行するなとのこことでした。
あ〜たしかにそこでコマンド打ってた・・・