new file: makefile
[GalaxyCodeBases.git] / gitrepo.init.sh
blob15649d60ffc0caa89fe679a0e68fdbf9be4e8565
1 #!/bin/sh
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
10 git remote -v
11 git remote update
13 git submodule init
14 git submodule update
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
21 cd released/pIRS
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/
25 git remote -v
26 git remote update
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