git.rst
changeset 2505 5262c08480dc
parent 2414 aebcb023e71a
child 2542 79885bc317d2
equal deleted inserted replaced
2504:e101133a8a62 2505:5262c08480dc
   602 ===============
   602 ===============
   603 ::
   603 ::
   604 
   604 
   605   $ git checkout 'master@{1979-02-26}'
   605   $ git checkout 'master@{1979-02-26}'
   606   $ git checkout 'master@{1979-02-26 18:30:00}'
   606   $ git checkout 'master@{1979-02-26 18:30:00}'
       
   607 
       
   608 Backup
       
   609 ======
       
   610 
       
   611 Create bundle::
       
   612 
       
   613   $ git bundle create $BUNDLE_FILE --all
       
   614 
       
   615 Recreate repository from bundle::
       
   616 
       
   617   $ git clone $BUNDLE_FILE $REPO_PATH
       
   618 
       
   619 Or clone without checking out working directory::
       
   620 
       
   621   $ git clone --mirror $ORIG $DEST
       
   622 
       
   623 Bundle is a single file, clone creates `.git` file hierarchy.
   607 
   624 
   608 Using git to work with SVN offline.
   625 Using git to work with SVN offline.
   609 ===================================
   626 ===================================
   610 
   627 
   611 Prepare SVN and git utilities::
   628 Prepare SVN and git utilities::