Created By  inflectra.adam Monday, March 7, 2016
We have been asked several times by customers - how do they migrate an existing Git repository to TaraVault (either self-hosted or hosted by another provider)? This article explains the process.

Unlike Subversion,  Git makes a whole copy of the repository and history, so there's no need to run a special import.

You can put an existing Git repository into TaraVault by running:

git remote add origin [TaraVault Git URL]

(e.g. git remote add origin https://git6.taravault.net/inflectratest3/sampleapplicationone/git/ )

This will add a remote repository with the friendly name of 'origin', then:

git push origin --all

to push all the branches into the new repository. You can change 'origin' to be whatever you want, e.g. "taravault"

That's all there is to it!

Article Info
  • Last Updated: 3/7/2016
  • Article ID: KB198
  • Views: 5135