安卓开发中源代码管理工具Git Repo的实用技巧集合

安卓开发中源代码管理工具Git Repo的实用技巧集合

ID:47054369

大小:856.50 KB

页数:27页

时间:2019-07-10

安卓开发中源代码管理工具Git Repo的实用技巧集合_第1页
安卓开发中源代码管理工具Git Repo的实用技巧集合_第2页
安卓开发中源代码管理工具Git Repo的实用技巧集合_第3页
安卓开发中源代码管理工具Git Repo的实用技巧集合_第4页
安卓开发中源代码管理工具Git Repo的实用技巧集合_第5页
资源描述:

《安卓开发中源代码管理工具Git Repo的实用技巧集合》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库

1、C2GitTrainingC2microsystems,Beijing.Xinhe-Guo(revision1,2,3,4,5,6)Contentlist1Toolsinstallation31.1repo31.2git31.3ssh31.4gitgui,graphicslogandpatchbrowsertool31.5Tig,atextbasedlog/patchbrowsertool52Accountsetup52.1ssh52.2git53Repositoryurl64Basicoperation64.1Androidprojec

2、tcheckoutfromserver64.2Updaterepofromserver74.3Reposyntaxlist74.4Singlegitclonefromserver84.5ReadGitinfo84.6Singlegitupdatefromserver84.7Gitlocalcommit84.8Gitpushbacktoserver95Advancedoperation95.1gitlogbydate95.2gitlogsinglefile95.3gitloginreporange95.4gitlogcompare2bran

3、chs105.5gitlogshowallrepo’slastmodification105.6Getadailyrepolog105.7Comparebetweenbranches105.8gitrev-list105.9gitblame115.10gitshow,readalog’spatch115.11Gitlistacommit’sfiles115.12Gitcheckout115.13Switchamongbranch115.14Addremotetogit115.15Git/repocheckoutbydate125.16gi

4、tcheckoutbytag125.17Mergefromanotherbranch125.18Deleteunexpectedcommits(frommergeresult)125.19Selectedcommittomerge125.20Createbranch135.21Tagasinglegit135.22Tagarepo135.23Createnewgitproject135.24Addnewmoduletorepo145.25Createnewrepoproject145.26CVSprojectconverttogitpro

5、ject145.27Shortcut145.28gitopsunderrepo,switchtonondefaultremotebranch156Gitservermanagement156.1Setuprepo/gitservice156.2Setupmirrorforrepo/gitservice156.3Hookemail156.4Hookpost-receive166.5Hookpre-receive166.6Hookdescription176.7Setupthegitwebinapacheserver177Insidegit1

6、77.1Gitdesignoverview177.2Git工作区、暂存区和版本库187.3Gitobjects197.4Insideasinglegit217.5Gitdiff227.6Gitreset227.7GitcheckoutisHEADreset237.8Gitinit237.9Gitadd237.10Gitfirstcommit247.11Addmodifiedfiles247.12AddFileintoSubdirectory257.13SecondCommit257.14Tag261Toolsinstallation1.1

7、repodownloadfromhttp://android.git.kernel.org/repo>~/bin/repo$chmoda+x~/bin/repoaddtosystempathexportPATH=$PATH:~/bin/repoorgitclonegit://android.git.kernel.org/tools/repo.gitcprepo/repo/usr/bin1.2gitInstallgit,usingyuminstallOrgetacopysourcecode,buildandinstall1.3sshInst

8、allssh1.4gitgui,graphicslogandpatchbrowsertoolForreadgithistorydirectly,using“Repository/Visuali

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。