Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
git-backup
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
iv
git-backup
Commits
54be70a0
Commit
54be70a0
authored
Jul 01, 2016
by
iv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
readme: explain bare repositories and paths
parent
a6cfe210
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
README.rst
README.rst
+8
-1
No files found.
README.rst
View file @
54be70a0
...
...
@@ -6,7 +6,9 @@
:date: 2015 Aug 31
This program backups files and set of bare Git repositories into one Git repository.
This program backups files and set of **bare** Git repositories into one Git
repository. A bare repository is a repository that doesn't contain a working
directory.
Files are copied to blobs and then added to tree under certain place, and for
Git repositories, all reachable objects are pulled in with maintaining index
which remembers reference -> sha1 for all pulled repositories.
...
...
@@ -19,6 +21,10 @@ synchronize backups in several places.
Backup workflow is:
0. in case of some non-bare repositories:
$ git clone --bare nonbarerepo dir1
1. create backup repository::
$ mkdir backup
...
...
@@ -29,6 +35,7 @@ Backup workflow is:
$ git-backup pull dir1:prefix1 dir2:prefix2 ...
where dir1 and dir2 are relative or absolute path.
This will pull bare Git repositories & just files from `dir1` into backup
under `prefix1`, from `dir2` into backup prefix `prefix2`, etc...
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment