Migration of TFS code to GIT-LAB
Feb 6, 2021
- Goto TFS collection,mirror your repository to your local machine.
git clone — mirror https://url-of-the-source-git-repo.git
2. Create a repository on the destination git repo with same name (not required)
3. Run the command from your local repository where you have clone the repo.
git remote set-url — push origin https://url-of-the-destination-git-repo.git
4. Run the below command for pushing your code with history.
git push –mirror