I currently have two Git repos that were created from the same SVN repo at different moments in time. One of the Git repos is local to my box (in folder
git add remote temp ../temp
git fetch temp
warning: no common commits
remote: Counting objects: 77563, done.
remote: Compressing objects: 100% (25852/25852), done.
remote: Total 77563 (delta 42638), reused 75783 (delta 40858)
Receiving objects: 100% (77563/77563), 45.68 MiB | 1.23 MiB/s, done.
Resolving deltas: 100% (42638/42638), done.
git rebase master
Current branch master is up to date.
On branch master
Your branch is up-to-date with 'origin/master'
nothing to commit, working tree clean
The rebase command gives
Current branch master is up to date. because you are still
On branch master; you have fetched
temp, but you haven't changed branches, so the rebase has no effect.
What you probably meant to do was:
git checkout -b temp temp/master git rebase master
And after that:
git checkout master git merge --ff-only temp git svn dcommit