From Wen Guan, develop on HPCEvent branch(configured in gitlab)
-
clone from gitlab git clone ssh://[email protected]:7999/wguan/PandaPilot.git cd PandaPilot/
-
add upstream #git remote add upstream https://github.com/PanDAWMS/pilot.git git remote add upstream ssh://[email protected]/PanDAWMS/pilot.git
-
verify git status git branch --track HPCEvent git branch -a git branch -av git remote -v
-
fetch all branches git fetch --all; git pull
5)start dev on HPCEvent branch git checkout HPCEvent git fetch --all git pull --all --prune --progress git checkout -b test_patch
git push origin test_patch
- in gitlab, merge branches
7)refresh branches to local git fetch --all git pull --all --prune --progress
8)push finally branches to github unset SSH_ASKPASS git push upstream HPCEvent
- create test tar file rm wguan-pilot-dev-HPC_recov.tar.gz; tar czf wguan-pilot-dev-HPC_recov.tar.gz *; cp wguan-pilot-dev-HPC_recov.tar.gz ~/www/wiscgroup/