Convert an SVN checkout to use git (git-svn) -


I work with software which is placed in svn for version control. I would like to use git (git-svn), though it is very important to use and configure software before using the software. There are tools to take care of all the setups, including checking all codes.

All documents of git-svn (I have found) require fresh checkout Git-svn.

Is there a way to change an existing SVN checkout, so that it is git-svn?

You can do something like this:

  1. Your SVN tree Using the complete clone GIT-SVN, do a temporary directory. Make sure you use the exact modification according to your existing checkout.
  2. Move the ".git" folder from the top level of the Git-svn checkout to the top level of the SVN checkout.
  3. Then you will either tell the guit to ignore the "SSN" directories, or you can delete them all.
  4. Delete git-svn checkout.
  5. There, now you can manipulate your existing files with GIT and GIT-SVN.
  6. Do "GIT status" and hope there is no change in it.

Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -