How do you organise multiple git repositories, so that all of them are backed up together?

How do you organise multiple git repositories, so that all of them are backed up together?

With SVN, I had a single big repository I kept on a server, and checked-out on a few machines. This was a pretty good backup system, and allowed me easily work on any of the machines. I could checkout…


Can I emulate svn:externals using mercurial?

We are considering a move from SVN to Mercurial, and have encountered a stumbling block. We currently use svn:externals to automatically pull a common set of libraries into the working directory. I ca…


Two git repositories in one directory?

Is it possible to have 2 git repositories in one directory? I'd think not, but thought I'd ask. Basically, I'd like to check in my home directory config files(e.g..emacs) which should be common ac…


svn - Is it possible to have a Subversion repository as a Git submodule?

Is there a way to add a Subversion repository as a Git submodule in my Git repository? Something like: git-svn submodule add https://svn.foo.com/svn/proj--stdlayout svn-project Where https://svn.foo…


SVN:externals equivalent in Git?

I have two SVN projects in use from another SVN repository using svn:externals. How can I have the same repository layout structure in Git?…


Tracking 3rd party code with Git

I can't seem to grok the different solutions I've found and studied for tracking external code. Let alone understand how to apply them to my use case... Would you guys be so kind to shed some light on…


Projects within projects using Git

How do I set up a Git project to contains other projects? eg. I am working on an online mapping app. We developed a GPS tool together with an outfit in SF. We simultaneously developed a Python Geoma…


How do I manage conflicts with git submodules?

I have a git superproject that references several submodules and I am trying to lock down a workflow for the rest of the my project members to work within. For this question, lets say my superproject…


How to change the remote repository for a git submodule?

I've created a git repository with a submodule in it. I'm able to tell the submodule itself to change its remote repository path, but I'm not sure how to tell the parent repository how to change the r…


Are git submodules the only safe way to have working copies within working copies?

In my scenario, I have a program that analyzes data input files and produces other data output files. I want to version control the program, and I want to version control the data files, and as a matt…





git update submodules branch remove not subtree add working commit