Part 0 Part 1 Git Git 1 Working Slides: 29 Download presentation Part 0 概要 Part 1 Git原理 Git原理 名词解释 1. Working directory: 作区 2. Staging area: 暂存区 3. Repository: 版本库 4. Commit: 提交 5. Checkout: 从某个地方复制东西到本地 6. Branch: 分支 Git原理 同义词: 1. 作区:working directory, working tree 2. 暂存区:index, stage, staging area Part 2 Git基本使用 Git基本使用:初始化 : git init 如果之前没有安装过 : git config --global user. name "<your name>" : git config --global user. email "<your email>" Part 3 当Git遇上Github 当Git遇上Github :基本原理 Local git Github Fetch/pull push 常见问题 修改了部分文件,不想提交,但是要切分支,怎么办 : git stash : git checkout xxx : …. . : git checkout ORIGIN_BRANCH : git stash apply / git stash pop 常见问题 在之前的提交的基础上新建分支 : git checkout -b NEW_BRANCH_NAME COMMIT_ID 有用的材料:链接 1. Git相关的ppt,用了里面的几张图: 1. https: //courses. cs. washington. edu/courses/cse 403/13 au/lectures/git. ppt. pdf 2. 一个比较好的git中文博客: 1. https: //www. liaoxuefeng. com/wiki/896043488029600 3. 关于SVN和git相关的思考: 1. https: //stackoverflow. com/questions/871/why-is-git-better-than-subversion 2. https: //www. zhihu. com/question/19957485 4. Git官方网站: 1. https: //git-scm. com/ 5. Git常见的50个问题(一些情境下的使用问题) 1. https: //github. com/rougier/50 -git-questions 6. 为什么我们在提交前需要缓存区: 1. https: //stackoverflow. com/questions/4878358/why-would-i-want-stage-before-committing-in-git 7. 一个比较大的项目的贡献文档(里面有一些团队协作的说明): 1. https: //devdocs. jabref. org/contributing T h a n k y o u fo r y o u r lis te n in g ! Git clone git://git.drogon.net/wiringpiSmart work vs hard workProses pengerjaan panasAdvantage of hot working processHot working and cold working differenceDifferentiate between hot working and cold workingGit distributedGitVersionsstyringEdgyuIntroduction to git pptGitGit secretionsHello misGit-versionhallintaPowerpoint version controlFlora gitBonobo git server tutorialPerianal microphoneGit venous drainageGit lftGlir git gli gloWhat is gitMi az a gitGit lftGit reset softSerosa vs adventitiaGit hub desktopGmailGit hub io