首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 其他相关 >

关于Git的几篇稿件,值得一读

2013-11-09 
关于Git的几篇文章,值得一读《Repo——另一个Git协同模型》 http://www.worldhello.net/2010/08/31/1884.html《

关于Git的几篇文章,值得一读

《Repo——另一个Git协同模型》 http://www.worldhello.net/2010/08/31/1884.html

《Android repo 魔法》 http://www.worldhello.net/2010/08/31/1915.html

《Why Git is better than SVN》 http://www.worldhello.net/2012/04/12/why-git-is-better-than-svn.html

《Version Control with Repo and Git》 http://source.android.com/source/version-control.html


提供 --mirror 参数调用 repo init ,建立 git 版本库克隆
$ repo init -u git://android.git.kernel.org/platform/manifest.git --mirror
使用 --morror 则下一步进行源同步的时候,本地按照源的版本库组织方式进行组织,否则会按照 manifest.xml 指定的方式重新组织并检出到本地

Usage: repo sync [<project>...]Options:  -h, --help            show this help message and exit  -f, --force-broken    continue sync even if a project fails to sync  -l, --local-only      only update working tree, don't fetch  -n, --network-only    fetch only, don't update working tree  -d, --detach          detach projects back to manifest revision  -c, --current-branch  fetch only current branch from server  -q, --quiet           be more quiet  -j JOBS, --jobs=JOBS  projects to fetch simultaneously (default 1)  -m NAME.xml, --manifest-name=NAME.xml                        temporary manifest to use for this sync  --no-clone-bundle     disable use of /clone.bundle on HTTP/HTTPS  -s, --smart-sync      smart sync using manifest from a known good build  -t SMART_TAG, --smart-tag=SMART_TAG                        smart sync using manifest from a known tag  -u MANIFEST_SERVER_USERNAME, --manifest-server-username=MANIFEST_SERVER_USERNAME                        username to authenticate with the manifest server  -p MANIFEST_SERVER_PASSWORD, --manifest-server-password=MANIFEST_SERVER_PASSWORD                        password to authenticate with the manifest server  repo Version options:    --no-repo-verify    do not verify repo source code












热点排行