This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS: Having two git repositories pointing on one CCS project

Tool/software: Code Composer Studio

Hey guys,

maybe I am thinking to complex but I want to do the following:

I already have one git repository pointing on one CCS project which is located in user default directory. I now want a repository which is located in my cloud which points on the same CCS project.

Why do I want that?

My cloud just collapsed and my stuff was deleted, fortunately I had a backup. To be sure, I want one repository to be on my hard drive and one in the cloud, both pointing on the same project so I have access to it form everywhere, but one backup on my hard drive.

What is the best way to accomplish that? Cloning seems to be something different, right?

hope I was clear enough.

kind regards

Stefan

  • Stefan,

    Typically you would clone a Git repository so there is a local copy and a clone of the same in a remote repository. Although I haven't tried it myself, it seems that you could also configure Git to push to two remote repositories if you wish to have some redundancy, as mentioned in this reference

    Hope this helps you accomplish what you were hoping for.

  • Thank you for your answer.
    In the linked thread, I would have to enter two URIs, as I want two repositories. Can I use my local path as URI?
  • That link seems to indicate that both are remote URIs and not a local path, as the configuration is for Remotes. I doubt that you can "push" to an additional local path. However, since this is more of a general Git question rather than CCS specific, perhaps you will find additional references on the web or from other community members who have more experience with Git.
  • Hey Aarti,

    you are right, I will check the web and post an answer here if I find one.