Knowledge Base Article

Home Page > Knowledge Base > TaraVault

Home Page > Knowledge Base > TaraVault > TaraVault Git

Article How do I upload my existing Git repository?

by Adam S on 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!

Attachments
Article Info
Last Updated: 3/7/2016
Article ID: KB198
# Views: 4302
Powered by KronoDesk v1.1.0.15 | © Copyright Inflectra Corporation 2011-2016 | Licensed to Inflectra Corporation.