logo资料库

smartgit中文使用指南.pdf

第1页 / 共33页
第2页 / 共33页
第3页 / 共33页
第4页 / 共33页
第5页 / 共33页
第6页 / 共33页
第7页 / 共33页
第8页 / 共33页
资料共33页,剩余部分请下载后查看
1. git clone................................................................................................ 2 2. smart git .............................................................................................. 3 2.1 smart git ................................................................................................. 3 2.2 log ......................................................................................................................... 4 2.3 ....................................................................................................................... 6 2.4 Push .................................................................................................................... 7 2.5 git pull ....................................................................................................... 7 2.6 merge .......................................................................................................... 9 2.6 ............................................................................................................. 10 2.6.1 Modified in working tree ................................................................................... 10 2.6.2 Modified in Index .............................................................................................. 10 2.6.3 local change ...................................................................................................... 11 2.6.4 file status ........................................................................................................... 11 3. ..................................................................................... 12 3.1 git status .................................................................................................... 12 3.2 git add ............................................................................................... 12 3.3 git commit –m “” ................................................................................. 13 3.4 git add ................................................................................................ 13 3.5 git diff ............................................................................ 13 3.6 git rm ......................................................................................................... 14 3.7 git mv......................................................................................... 15 4. ......................................................................................... 15 4.1 git remote ..................................................................................... 15 4.2 git fetch ................................................................................ 16 抓址意 git push ................................................................................... 16 4.4 git remote show .......................................................................... 17 4.5 git remote rename , git remote rm ................................... 17 5. git ...................................................................................................... 17 5.1 git branch ................................................................................................... 17 5.2 git branch branchname ............................................................................. 18 5.3 git merge ................................................................................................... 18 5.4 .................................................................................................................... 18 5.5 git push origin branchname ....................................................................... 19 5.6 git push origin :branchname ............................................................... 20 5.7 git merge origin/test11 ........................................................................ 20 5.8 .................................................................................................................... 21 5.9 work directory .................................................................................. 21 6.git git reset ,git revert ........................................................ 22 6.1 git reset ............................................................................................................. 22 6.1.1 .................................................................................. 23 6.1.2 ...................................................................................................... 23 6.1.3 .......................................................................................................... 25 6.1.3.1 index working directory ................................................... 25 6.1.3.2 ......................................................................... 25 1
6.1.3.3 .............................................................. 26 6.1.3.4 commit ....................................................................... 26 6.1.3.5 merge ....................................................................................... 27 6.1.3.6 merge , working tree ..................................................... 27 6.1.3.7 .................................................................................... 28 6.2 .................................................................................................................... 29 6.3 git revert reset ........................................................................................... 30 7. index working directory .......................................................................... 30 7.1 git diff .......................................................................................................................... 31 1. git clone 般it git clone git@10.219.68.248:testing 2
2. smart git 2.1 从程序中启动 从程序中启动 smart git 从程序中启动 从程序中启动 Project –> Open Repository clone git next finish 3
2.2 查看查看查看查看 log Query -> Open 4
5
2.3 选择分支 选择分支 选择分支选择分支 ( git branch uidp3457) add Branch Add Branch & Switch 6
2.4 推送推送推送推送 Push 2.5 拉取数据 拉取数据 git pull:::: 拉取数据拉取数据 merge 7
git fetch merge 8
分享到:
收藏