3 # git clone git@github.com:galaxysd/GalaxyCodeBases.git toGit
5 git remote add gitlab git@gitlab.com
:galaxycodebases
/main.git
6 git remote add coding git@git.coding.net
:galaxy
/GalaxyCodeBase.git
7 git remote add orcz
ssh://galaxy@repo.or.cz
/GalaxyCodeBases.git
8 # git remote add github git@github.com:galaxysd/GalaxyCodeBases.git
9 # git push -u github master
16 git submodule foreach git branch
-v
17 git submodule foreach git checkout master
18 git submodule foreach git pull
19 git submodule foreach git branch
-v
22 git remote add sf
ssh://galaxy001@git.code.sf.net
/p
/pirsim
/code
23 # git remote add github git@github.com:galaxy001/pirs.git
24 # git remote add google https://code.google.com/p/pirs/
28 git config
--global alias.xpush
'!f(){ for i in `git remote`; do git push -v $i; done; };f'
29 git config
--global alias.xpull
'!f(){ for i in `git remote`; do git pull -v $i $1; done; };f'
31 git config
--global core.editor
"vim"
33 # git submodule add git@bitbucket.org:galaxy001/mydoc.git mydoc