On 09/04/2015 01:09 PM, Tanstaafl wrote: > Similar to the recent thread on cloning... > > I don't know and have never even used Git, but I need to get a complete > and total backup of an entire Git repository to a single file that can > then be cloned into a new git repo on another system. This was for a > software project that was being developed by some off-site developers. > > What is the proper way to do this? Is it the 'git bundle' command? >
The entire git repo is a single .git directory at the top level of your project. So you can bundle the whole thing with tar -cf project.tar /path/to/your/project