1. 在服务器上创建自定义的git目录
mkdir test.git
cd test.git
git init
git remote add origin 'git://xxx:yyy@zzz:test.git'
echo 'test'>README.txt
git add README.txt
git commit -m 'test'
git push origin master
git branch [repo_branch]
2. 在 repo 的 manifest目录里面的 default.xml 添加新的路径:
<project name='test' path='www/ppp'>
3. 在repo目录下进行 repo sync 即可。
mkdir test.git
cd test.git
git init
git remote add origin 'git://xxx:yyy@zzz:test.git'
echo 'test'>README.txt
git add README.txt
git commit -m 'test'
git push origin master
git branch [repo_branch]
2. 在 repo 的 manifest目录里面的 default.xml 添加新的路径:
<project name='test' path='www/ppp'>
3. 在repo目录下进行 repo sync 即可。