Consider my below scenario :
Suppose my svn repository contains 100 revisions, which has been migrated to Git Repository (So my Git contains the 100 revisions).
Now my svn repository got updated, say with 5 more revisions hence it has 105 revisions. How do i migrate only the revisions 101 t0 105 to my GIT repository?
The main challenges I have :
I tried following up with these links which dont help me,(fyi)
Using svnsync
USing git svn clone
Use git-svn. When you do initial clone git svn clone ...
you will get the first 100 revisions. Later you do git svn fetch
which would fetch the newly appeared 5 revisions.
All 105 revisions will be present in a correct order thus the history will be preserved.
Update:
If you wish to avoid getting first 100 revisions, do git svn init with fetch initially:
git svn init ...
git svn fetch -r <svn revision you want to start from>