July 2018
Intermediate to advanced
354 pages
10h 57m
English
Even though Git is distributed and every clone is essentially a backup, there are some tricks that can be useful when backing up Git repositories. A normal Git repository has a working copy of the files it tracks and the full history of the repository in the .git folder of that repository. The repositories on the server, the ones you push to and pull from, will usually be bare repositories. A bare repository is a repository without a working copy. Roughly, it is just the .git folder of a normal repository. A mirror repository is almost the same as a bare repository, except it fetches all the references under refs/*, whereas a bare repository only fetches the references that fall ...
Read now
Unlock full access