tips:git

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
tips:git [2018/11/07 16:19] – [create branch with current changes] scipiotips:git [2019/03/13 09:30] (current) – [apache git] scipio
Line 203: Line 203:
 </code> </code>
  
 +===== submodule =====
 +
 +<code>
 +cd <submodule>
 +git checkout master
 +git branch -u origin/master master
 +cd <parent>
 +git config -f .gitmodules submodule.<submodule>.branch master
 +</code>
  • tips/git.1541603950.txt.gz
  • Last modified: 2018/11/07 16:19
  • by scipio