User Tools

Site Tools


git:git

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
git:git [2022/11/04 20:15] – added gitlab specific commands renegit:git [2024/08/25 11:44] (current) – sub module rene
Line 43: Line 43:
 <code bash> <code bash>
  $ git config --global --replace-all core.pager "less -F"  $ git config --global --replace-all core.pager "less -F"
 +</code>
 +
 +=== Add git sub module ==
 +
 +<code bash>
 +git submodule add git@bitbucket.org:user/<package>.git <destination>
 +</code>
 +
 +=== update sub module only ===
 +
 +<code bash>
 +git submodule update --remote <path to the submodule>
 </code> </code>
  
git/git.txt · Last modified: 2024/08/25 11:44 by rene