Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 22 lines (14 sloc) 0.644 kB
83192d2 @sekimura first
authored
1 git-sync: a simple tool to mirror git repositories
2 ==================================================
3
b507bb6 @sekimura first
authored
4 ## create git repository "cache"
83192d2 @sekimura first
authored
5
b507bb6 @sekimura first
authored
6 git-sync.py -d /var/local/git-mirror/ https://github.com/sekimura/dotfiles
7
8 ## checkout from synced repo for readonly purpose.
83192d2 @sekimura first
authored
9
10 git clone --local --shared \
11 /var/local/git-mirror/github.com/sekimura/dotfiles \
12 dotfiles-readonly
13
b507bb6 @sekimura first
authored
14 ## working repo to commit upstream
83192d2 @sekimura first
authored
15
16 git clone --reference \
17 /var/local/git-mirror/github.com/sekimura/dotfiles \
18 git@github.com:sekimura/text-markdown-discount.git dotfiles
19
b507bb6 @sekimura first
authored
20 ## SEE ALSO:
21 http://www.jukie.net/bart/blog/git-caching
Something went wrong with that request. Please try again.