![]() ![]() $ git checkout -b local_branch remote_branch ![]() If you want to keep branches you should create a local branch for each remote branch. SVN "tags" are no different than branches, and with this command you will createĪ Git tag and delete every branch that starts with remotes/tags/* tags like remotes/tags/tag1, remotes/tags/tag2.branches like remotes/branch1, remotes/branch2.In this step you will have several Git branches: Go to your new new repo directory "project1-tmp". In my case I had some troubles, because I had some branches not under branch, something like this: Warning: Depending on the size of your repository this could take a long time so you should sit tight. To see all users, on the existing SVN repository run this command: You will need a file to map each user from SVN to Git. See 'git -help'.ĭon't worry, if you are in Ubuntu, just hit this command: If you don't have it installed you will see something like this: Let's face it, once you start using Git you'll never want go back.īut enough talking, here are the steps on how did I migrate from SVN to GIT my repositories. Since SVN, I thought there was nothing better and simpler until I get to know Git.įirst I said, why I should bother to migrate, this could be very tedious and long work, but ![]() Several years have passed since I worked with different SCM, I started using CVS, First, I have to said that this is a late welcome, because Git has many years, I ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |