Migrating svn repo to git(hub)

Use svn2git. Follow instruction.

Possible error 1:
Use of uninitialized value $u in substitution (s///) at /usr/lib/git-core/git-svn line 2097.
Use of uninitialized value $u in concatenation (.) or string at /usr/lib/git-core/git-svn line 2097.
refs/remotes/svn/trunk: 'https://code.ros.org/svn/ros-pkg' not found in ''
Solved by this

Possible error 2:
$ git remote add origin https://username@github.com/username/your_repo.git ! [rejected] master -> master (non-fast-forward) error: failed to push some refs to 'git@git.your_repo.git'
Workaround was
$ git push -f ## See http://goo.gl/ctCCb

Tunatuna and china pot, a gift from sister to m.

Comments

Popular Posts