Initialize git from existing svn repository
git svn clone https://svn.cern.ch/reps/en-ice-svn/trunk/tools/UNICOS/CPC/Baseline/WinCCOA # create a new local git repo based on svn repo entry
cd WinCCOA # go inside it
git remote add origin https://:@git.cern.ch/kerberos/unicos-cpc-winccoa # linked new local repo with existing cern repo
git config --global push.default simple # needed for git 2.0.4
git config http.postBuffer 524288000
git push # push local to remote
Working process
#pull from the servers
git svn fetch # download from svn
git svn rebase # download from svn and resolve conflicts
git pull # download from git
# If git server and svn server get out of step:
git update-ref refs/remotes/git-svn refs/remotes/origin/master # ???
# push to the servers
git svn dcommit # commit back to svn - don't push the master before executing this command!!
git push # upload to git
Further reading