随笔分类 - 工具 / git
摘要:转载:git信息查看 git help git version # Display the version of git. git help # Prints the synopsis and a list of the most commonly used commands. git help g
阅读全文
摘要:git fetch 和 git pull 都是从远程分支拉去更新本地的命令。 1、git fetch 相当于是从远程获取最新版本到本地,不会自动merge 命令流程如下: 首先从远程的origin的master主分支下载最新的版本到origin/master分支上 然后比较本地的master分支和o
阅读全文
摘要:原文链接 新建远程分支 1、新建一个本地分支: git checkout -b dbg_lichen_star 查看一下现在的分支状态: git branch * dbg_lichen_star master release 星号(*)表示当前所在分支。现在的状态是成功创建的新的分支并且已经切换到新
阅读全文
摘要:转载 :创建 Pull Request - 张建斌 - 博客园 (cnblogs.com) Pull Request 是开发者使用 GitHub 进行协作的利器。这个功能为用户提供了友好的页面,让提议的更改在并入官方项目之前,可以得到充分的讨论。 最简单地来说,Pull Request 是一种机制,
阅读全文