我已经阅读了一些有关Git中文件权限的问题,但我仍然有些困惑。我在GitHub上有一个由另一个仓库分叉的仓库。合并后,它们应该相同。然而:
$ git diff --summary origin/epsilon master/epsilon
mode change 100644 => 100755 ants/dist/sample_bots/csharp/compile.sh
mode change 100644 => 100755 ants/dist/starter_bots/coffeescript/MyBot.coffee
mode change 100644 => 100755 ants/dist/starter_bots/coffeescript/ants.coffee
mode change 100644 => 100755 ants/util/block_test.sh
mode change 100644 => 100755 manager/mass_skill_update.py
mode change 100644 => 100755 worker/jailguard.py
mode change 100644 => 100755 worker/release_stale_jails.py
mode change 100644 => 100755 worker/start_worker.sh
我试过更改文件权限,但它不会更改diff结果。
core.filemode
设置为false
)实际设置了执行位。