Created
May 5, 2009 16:37
-
-
Save edavis10/107051 to your computer and use it in GitHub Desktop.
Log of setting up a bare git mirror
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| edavis@theadmin:~/tmp$ git clone --bare git://github.com/bvds/andes.git | |
| Initialized empty Git repository in /home/edavis/tmp/andes/ | |
| remote: Counting objects: 21024, done. | |
| remote: Compressing objects: 100% (6919/6919), done. | |
| Indexing 21024 objects... | |
| remote: Total 21024 (delta 14295), reused 20646 (delta 14002) | |
| 100% (21024/21024) done | |
| Resolving 14295 deltas... | |
| 100% (14295/14295) done | |
| edavis@theadmin:~/tmp$ cd andes/ | |
| edavis@theadmin:~/tmp/andes$ nano -w config | |
| # Added | |
| [remote "origin"] | |
| mirror = true | |
| url = git://github.com/bvds/andes.git | |
| fetch = +refs/*:refs/* | |
| # End Edit | |
| edavis@theadmin:~/tmp/andes$ git fetch | |
| edavis@theadmin:~/tmp/andes$ git branch -a | |
| Andes2 | |
| corman-attempt | |
| * master | |
| moment-of-inertia | |
| solver-as-library | |
| solver-as-process | |
| edavis@theadmin:~/tmp/andes$ git log -n 1 | |
| commit db86c9f9985d66218e624ac1be1453d5c240df14 | |
| Author: Mike Wilcox <[email protected]> | |
| Date: Tue May 5 11:21:40 2009 -0500 | |
| refs #2986 - testing redmine linkage. | |
| edavis@theadmin:~/tmp/andes$ cd .. | |
| edavis@theadmin:~/tmp/andes$ git fetch | |
| remote: Counting objects: 7, done. | |
| Compressing objects: 100% (4/4), done.) | |
| remote: Total 4 (delta 3), reused 0 (delta 0) | |
| Unpacking 4 objects... | |
| 100% (4/4) done | |
| * refs/heads/master: fast forward to branch 'master' of git://github.com/bvds/andes | |
| old..new: db86c9f..98c7506 | |
| edavis@theadmin:~/tmp/andes$ git log -n 2 | |
| commit 98c75064078e4892c4fea55491bf011c1c064ddb | |
| Author: Mike Wilcox <[email protected]> | |
| Date: Tue May 5 11:41:14 2009 -0500 | |
| Refs #2986 - 2 - testing redmine linkage. | |
| commit db86c9f9985d66218e624ac1be1453d5c240df14 | |
| Author: Mike Wilcox <[email protected]> | |
| Date: Tue May 5 11:21:40 2009 -0500 | |
| refs #2986 - testing redmine linkage. | |
| edavis@theadmin:~/tmp/andes$ cat refs/heads/master | |
| 98c75064078e4892c4fea55491bf011c1c064ddb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment