Wednesday, June 8, 2016

Moving from SVN to GITLAB


  1. Create C:\GITLAB
  2. CD to C:\GITLAB
  3. Create new empty repository in GITLAB (browser)
  4. Create New Project
  5. Give it UniqueName (get newGitLabProjectURL)
  6. Set Visibility Level to Private
  7. Click Create Project
  8. Run command equivalent to git svn clone http://svnServer:port/svn/DeveloperRepo/Project
  9. CD to project folder 
  10. Run command equivalent to git svn rebase
  11. git config --global user.name "YourUsernameHere"
  12. 11. git config --global user.email "yourEmail@Domain.com"
  13. cd existing_folder
  14. git init
  15. git remote add origin http://newGitLabProjectUrl.git
  16. git add .
  17. git commit
  18. git push -u origin master

No comments: