《安卓开发中源代码管理工具GtRepo的实用技巧集合.doc
文本预览下载声明
C2 Git Training
C2 microsystems, Beijing.
Xinhe-Guo(revision 1,2,3,4,5,6)
Content list
1 Tools installation 3
1.1 repo 3
1.2 git 3
1.3 ssh 3
1.4 git gui, graphics log and patch browser tool 3
1.5 Tig, a text based log/patch browser tool 5
2 Account setup 5
2.1 ssh 5
2.2 git 5
3 Repository url 6
4 Basic operation 6
4.1 Android project checkout from server 6
4.2 Update repo from server 7
4.3 Repo syntax list 7
4.4 Single git clone from server 8
4.5 Read Git info 8
4.6 Single git update from server 8
4.7 Git local commit 8
4.8 Git push back to server 9
5 Advanced operation 9
5.1 git log by date 9
5.2 git log single file 9
5.3 git log in repo range 9
5.4 git log compare 2 branchs 10
5.5 git log show all repo’s last modification 10
5.6 Get a daily repo log 10
5.7 Compare between branches 10
5.8 git rev-list 10
5.9 git blame 11
5.10 git show, read a log’s patch 11
5.11 Git list a commit’s files 11
5.12 Git checkout 11
5.13 Switch among branch 11
5.14 Add remote to git 11
5.15 Git/repo checkout by date 12
5.16 git checkout by tag 12
5.17 Merge from another branch 12
5.18 Delete unexpected commits(from merge result) 12
5.19 Selected commit to merge 12
5.20 Create branch 13
5.21 Tag a single git 13
5.22 Tag a repo 13
5.23 Create new git project 13
5.24 Add new module to repo 14
5.25 Create new repo project 14
5.26 CVS project convert to git project 14
5.27 Short cut 14
5.28 git ops under repo, switch to non default remote branch 15
6 Git server management 15
6.1 Setup repo/git service 15
6.2 Setup mirror for repo/git service 15
6.3 Hook email 15
6.4 Hook post-receive 16
6.5 Hook pre-receive 16
6.6 Hook description 17
6.7 Setup the gitweb in apache server 17
7 Inside git 17
7.1 Git design overview 17
7.2 Git工作区、暂存区和版本库 18
7.3 Git objects 19
7.4 Inside a single git 21
7.5 Git diff 22
7.6 Git reset 22
7.7 Git checkout is HEAD reset 23
7.8 Git init 23
7.9 Git add 23
7.10 Git first commit 24
7.11 Add modified files 24
7.12 Add File into Subdirectory 25
7.13 Second Commit 25
7.14
显示全部