Gitさん...俺はファイルのパーミッションを変更させたくないんだ
何が起きたのか
チェックアウトする度にファイルのパーミッションが書き換わって画像の上書き保存ができない
仕方ないから毎回毎回毎回毎回chmodしてたけど、もう限界なんです
パーミッション変更を無視する設定があった
core.filemodeをfalseにすればパーミッションの変更が無視されるらしい。
$ git config core.filemode false
確認は以下のコマンド
$ git config -l | grep filemode
core.filemode=false
快適どす
Author And Source
この問題について(Gitさん...俺はファイルのパーミッションを変更させたくないんだ), 我々は、より多くの情報をここで見つけました https://qiita.com/ayies128/items/6cea9be7d47101510f14著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .