equal
deleted
inserted
replaced
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:: |