User Tools

Site Tools


dev:notes:git

This is an old revision of the document!


# Git

## Clone repository with submodules on a remote branch

  git clone git@theserver:/therepo.git
  git fetch origin
  git checkout thebranch
  git submodule update --init --remote

## Clone repository with submodules

  git clone --recursive git@theserver:/therepo.git
  

## Update submodules

  git submodule update --remote
/home/share/www/redox.ws/wiki/data/attic/dev/notes/git.1422556128.txt.gz · Last modified: 2023/11/24 21:55 (external edit)