Migrating from SVN to Git While Preserving Past Commit Logs
Overview
I needed to migrate repository management from SVN to Git,
so this post summarizes the commands I used in the process.
Procedure
First, create the destination repository on the remote.
If you get the following error when trying to run the command below
1 | git pull origin master |
In short, the permission for your public key was denied.
Let’s check how it is trying to access the remote repository.
1 | [core] |
Try pulling again.
1 | git pull origin master |
Afterword
I’m grateful for Git’s mature approach of being prepared to take over from SVN.
If you’re wondering why you’d migrate in the first place, just try getting your hands on Git first.
Migrating from SVN to Git While Preserving Past Commit Logs
https://kenzo0107.github.io/en/2015/02/28/transit-svn-to-git/