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

CMSCSS
  • 2,076
  • 9
  • 28
  • 49

1 Answers1

1

git config would work within a git repo.

Outside a particular git repo, you would type:

git config --global core.fileMode false

Then check with Tower again (restarting it just to be sure).

The OP CMSCSS adds in the comments:

running git config core.fileMode false within the repo's /.git directory worked.

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • ```$ git config --global core.fileMode false``` didn't work but running ```$ git config core.fileMode false``` within the repo's ```/.git``` directory worked a treat. Cheers – CMSCSS Dec 18 '14 at 17:07
  • @CMSCSS Ok, I have included your comment in the answer for more visibility. – VonC Dec 18 '14 at 17:51