User Tools

Site Tools


howto:git

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
howto:git [2021/12/26 12:13] va7fihowto:git [2021/12/26 12:26] (current) – [Test Scenarios] va7fi
Line 5: Line 5:
   * When pushing local changes to remote, the remote master can't be checkout out.   * When pushing local changes to remote, the remote master can't be checkout out.
  
 +References: 
 +  * [[https://stackoverflow.com/questions/3207728/retaining-file-permissions-with-git |stackoverflow]] question about permissions. 
 +  * Using [[https://githooks.com/ |git hooks]] to run pre- and post- scripts to fix permissions. 
 +  
 ==== Initial Cloning ==== ==== Initial Cloning ====
   * Create two files in a ''remote'' folder to simulate the wiki install on the server.   * Create two files in a ''remote'' folder to simulate the wiki install on the server.
Line 193: Line 196:
 -rwxrwx--- 1 ptruchon www-data 26 Dec 26 10:20 file2.txt -rwxrwx--- 1 ptruchon www-data 26 Dec 26 10:20 file2.txt
 </code> </code>
 +
howto/git.1640549619.txt.gz · Last modified: 2021/12/26 12:13 by va7fi