\\ubuntubox\codebase
full read / write permissions (samba).git status
from a terminal in Linux: 1 to 3 seconds to get the statusgit status
from the MINGW terminal in the Windows box (what is installed by default by Git for windows) on the shared folder: 10-15 seconds.Is there perhaps a "trick" I'm missing to make git.exe (the Windows executable) work faster on a shared folder?
At the moment I'm using putty to ssh into the ubuntu box and do all git stuff from the command line. However, my IDE of choice (the awesome PHPStorm) has a tremendously helpful git integration which I'd like to continue to use, wihtout having to wait 10 secs+ for each git command.
Any ideas?
There's no trick about working on a git repository located on a network share, because git isn't designed to work like this.
It is designed instead to work locally, and communicate changes with remote locations. To do so you need to:
\\ubuntubox\codebase
git clone //ubuntubox/codebase
(notice, no backslashes) from a local folderThen you'll have a local copy of the repository, and you'll be able to push/pull your changes back with the remote place (origin
repository).