Answer the question
In order to leave comments, you need to log in
How to export a repository from SVN to GIT with readable history?
Good afternoon. Please tell me one question.
There is an SVN repository, a bright idea came to my mind to transfer it to GIT, but be sure to save the history. Using the solution from here stackoverflow.com/questions/79165/migrate-svn-repo... this was achieved without much difficulty, but there was one problem. Because there was a lot of text in the SVN commit description, and it ended up in the GIT commit headers as well. Although, as I understand it, GIT has 2 such fields for entering a description: the title and the description itself.
Is it possible to export the repository so that the commit title is the SVN revision number, and the actual commit description is the description of the corresponding commit from the SVN repository? It's just that now the whole description goes into the heading with an inconspicuous link containing the commit number at the very end, because of this, on the same GitHub, this whole thing does not look very aesthetically pleasing.
Answer the question
In order to leave comments, you need to log in
You can write a script to change the name of the commits as you like using git filter-branch
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question