3 ms·
Something I've found useful is separating the .git directory and the actual working folder. (Eg, the /home/app/foo.git repository's working directory is in /va
by scott_karana 12y ago
Something I've found useful is separating the .git directory and the actual working folder.
(Eg, the /home/app/foo.git repository's working directory is in /var/www/foo)
All you need is to move the .git directory, and then make a .git file with these contents in your working directory:
gitdir: /home/foo/foo.git