摘要(Abstract)

Git(读音为/gɪt/。)是一个开源的分布式版本控制系统,可以有效、高速地处理从很小到非常大的项目版本管理。 [1] Git 是 Linus Torvalds 为了帮助管理 Linux 内核开发而开发的一个开放源码的版本控制软件。 Torvalds 开始着手开发 Git 是为了作为一种过渡方案来替代 BitKeGUI Clients Git comes with built-in GUI tools (git-gui, gitk), but there are several third-party tools for users looking for a platform-specific experience. View GUI Clients → sudo apt-get install git 配置用户名:git config --global user.name "你的名字" 配置e-mail:git config --global user.email "你的邮箱@xx.com" git init git add 文件名 [可选:另一个文件名] git commit –m "描述" git status git diff 文件名 git log git log --pretty=online 或 git log --online commit ID:git reflog git checkout -- 文件名 git reset HEAD 文件名 git reset --hard 该版本ID git reset --hard HEAD^ HEAD^^,HEAD~2 git tag 标签名 git tag 标签名 该版本ID git tag –a 标签名 –m "标签说明" [可选:版本ID] git tag git show 标签名 git tag –d 标签名 git remote add origin 网站上的仓库地址 git push –u origin master git clone


主题(Topic)

项目(Project)