我通過複製到外部硬盤驅動器將一堆git存儲庫移動到另一個操作系統。現在當我做git diff
它報告所有的文件模式已經改變。移動存儲庫後git diff報告模式發生變化
diff --git a/.gitignore b/.gitignore
old mode 100644
new mode 100755
diff --git a/.npmignore b/.npmignore
old mode 100644
new mode 100755
diff --git a/.travis.yml b/.travis.yml
old mode 100644
new mode 100755
diff --git a/LICENSE b/LICENSE
old mode 100644
new mode 100755
diff --git a/README.md b/README.md
old mode 100644
new mode 100755
我對文件權限並不十分了解,對此我該怎麼辦?
提交模式更改?將模式更改爲所有非可執行文件? git重置?
它從操作系統和操作系統? – 2012-01-12 22:19:13
Xubuntu到Crunchbang Linux – fent 2012-01-12 22:21:46