1

Issue:

  1. Can't get Tower (OSX git App) to ignore file permissions

Set up:

  1. OSX 10.9.5
  2. Using Tower 2.1.3 set to use git from:

/usr/bin/git (System; 1.9.3 (Apple Git-50)


Have tried:

  • Looking for a file mode setting in Tower / Tower docs
  • From Terminal, have tried:

$ git config core.fileMode false

  • Which outputs:

error: could not lock config file .git/config: No such file or directory

  • In Terminal, I can't see:

~/.git/config

/.git/config

/usr/bin/git

/usr/bin/.git


Question:

Does anyone know how to get Tower on OSX to ignore file permissions?

Any pointers in the right direction would be much appreciated.

Cheers

4

1 回答 1

1

git config将在 git repo 中工作。

在特定的 git 存储库之外,您将键入:

git config --global core.fileMode false

然后再次检查 Tower(重新启动它只是为了确定)。

OP CMSCSS在评论中添加:

git config core.fileMode false在 repo 的/.git目录中运行有效。

于 2014-12-18T06:29:31.297 回答