docs:git:git_with_a_live_website

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
docs:git:git_with_a_live_website [2013/05/03 16:03] billhdocs:git:git_with_a_live_website [2013/06/06 10:17] (current) billh
Line 7: Line 7:
   * ''git config core.sharedRepository group''   * ''git config core.sharedRepository group''
   * --or-- if you are initializing one from scratch, you can do ''git init --shared=group''   * --or-- if you are initializing one from scratch, you can do ''git init --shared=group''
 +
 +=== disable filemode ===
 +I personally disable filemode checks by git since I work across Unix, Mac, and Windows environments.  Rather, I set up group sticky bits and umask 2.
 +  * ''git config core.filemode false''
  
 === make sure the same group is on all subdirs and files === === make sure the same group is on all subdirs and files ===
Line 20: Line 24:
     * ''chmod -R g+rw . 2>/dev/null''     * ''chmod -R g+rw . 2>/dev/null''
   * learn more about ACL on unix machines which go beyond the typical rwx stuff   * learn more about ACL on unix machines which go beyond the typical rwx stuff
 +    * http://www.udel.edu/it/help/unix/groupsharing.html
 ==== External Links ==== ==== External Links ====
   * http://serverfault.com/questions/26954/how-do-i-share-a-git-repository-with-multiple-users-on-a-machine   * http://serverfault.com/questions/26954/how-do-i-share-a-git-repository-with-multiple-users-on-a-machine
   * http://joemaller.com/2008/11/25/a-web-focused-git-workflow/   * http://joemaller.com/2008/11/25/a-web-focused-git-workflow/
   * http://danielmiessler.com/blog/using-git-to-maintain-your-website   * http://danielmiessler.com/blog/using-git-to-maintain-your-website
  • docs/git/git_with_a_live_website.1367618634.txt.gz
  • Last modified: 2013/05/03 16:03
  • by billh