GIT Tipps

Aus Primatenwiki
Zur Navigation springen Zur Suche springen

git pull über mehrere Verzeichnisse

find . -mindepth 1 -maxdepth 1 -type d -exec git --git-dir={}/.git --work-tree=$PWD/{} pull origin master \;

git status über mehrere Verzeichnisse

find . -mindepth 1 -maxdepth 1 -type d -exec git --git-dir={}/.git --work-tree=$PWD/{} status \;