-
Notifications
You must be signed in to change notification settings - Fork 6
Home
maki-rxrz edited this page Oct 26, 2012
·
2 revisions
How to clone
Run this script.
#!/bin/bash
git_url=git://github.com/maki-rxrz/gpac.git
work_dir=gpac_git
# clone
git clone $git_url $work_dir
cd $work_dir
# setup svn remotes
git svn init --prefix=svn/ https://gpac.svn.sourceforge.net/svnroot/gpac --trunk=trunk/gpac
test -d .git/refs/remotes/svn || mkdir .git/refs/remotes/svn
git rev-list origin/plain -1 > .git/refs/remotes/svn/trunk
git svn fetch
# setup github remotes
git remote add -f github/golgol7777 git://github.com/golgol7777/gpac.git
git remote add -f github/wipple git://github.com/wipple/GPAC.git
# create default branch
git branch plain origin/plain