随笔分类 - git gerrit repo
摘要:https://blog.csdn.net/awp0011/article/details/73368481 第一次使用github.com在本地 执行 git clone git@github.com:xxxxx/xxxxx.git 异常信息: Permission denied (publick
阅读全文
摘要:https://blog.csdn.net/dj0379/article/details/50674696
阅读全文
摘要:https://blog.csdn.net/qq_33913324/article/details/80349632
阅读全文
摘要:https://www.cnblogs.com/tocy/p/git-stash-reference.html
阅读全文
摘要:这是我在 github 上的一个测试仓。 这是仓的详细信息。 先克隆到本地。 git branch zuo@DESKTOP-QN47U5R MINGW64 /d/a/test (i55)$ git branch i22 i33* i55 i88 i99 ixx iyy zuo@DESKTOP-QN4
阅读全文
摘要:zuo@DESKTOP-QN47U5R MINGW64 /d/b/test (iyy) $ git remote origin zuo@DESKTOP-QN47U5R MINGW64 /d/b/test (iyy) $ git remote -v origin https://github.com/factsbenchmarks/test.git (fetch) origin https:...
阅读全文
摘要:http://www.ruanyifeng.com/blog/2014/06/git_remote.html
阅读全文
摘要:https://blog.csdn.net/taiyangdao/article/details/52766424 http://www.chenchunyong.com/2017/01/06/git-refs-%E8%AF%A6%E8%A7%A3/ https://blog.csdn.net/ma
阅读全文
摘要:https://git-scm.com/docs/git-branch git branch命令的-r选项,可以用来查看远程分支,-a选项查看所有分支。 上面命令表示,本地主机的当前分支是master,远程分支是origin/master。
阅读全文
摘要:https://www.yiibai.com/git/git_fetch.html 一般 git fetch之后,接着 git merge origin/i66
阅读全文
摘要:https://blog.csdn.net/wh_19910525/article/details/7554430 https://git-scm.com/docs/git-cherry-pick
阅读全文
摘要:https://www.yiibai.com/git/git_pull.html https://www.cnblogs.com/kevingrace/p/5896706.html https://blog.csdn.net/u011240877/article/details/52668807
阅读全文
摘要:http://www.ruanyifeng.com/blog/2012/08/how_to_read_diff.html
阅读全文
摘要:一 切换分支 二 将出去工作区的文件还原为最初始状态。 git checkout ' filename ', 可以和 git reset ' filename ' 搭配使用。
阅读全文
摘要:一 回退版本 --hard --soft --mix git reset --hard HEAD~n : 会退到之前n个版本。git reset HEAD,回退最后一个版本。git reset HEAD~1,回退到倒数第二个。 二 将文件从暂存区会退到工作区 git reset 'filename'
阅读全文
摘要:merge https://git-scm.com/book/zh/v2/Git-%E5%88%86%E6%94%AF-%E5%88%86%E6%94%AF%E7%9A%84%E6%96%B0%E5%BB%BA%E4%B8%8E%E5%90%88%E5%B9%B6 关键指令 git checkout
阅读全文
摘要:https://git-scm.com/book/zh/v1/Git-基础-远程仓库的使用 git remote git remote -v git remote add xx git://url git fetch xx git push origin master git remote show
阅读全文
摘要:https://www.jianshu.com/p/a308acded2ce 这个博客介绍的比较简单 https://blog.csdn.net/qq_31828515/article/details/62893425 这个博客介绍的比价详细,比较全面 工作区:(working directory)
阅读全文
摘要:Git作为一个版本控制工具,功能很强大,新建分支,切换分支都很快,小团队用Git就能很好地管理好了,但如果是Android系统如此庞大的工程呢,我们知道全套Android源码是很大很大的,目录结构也很复杂,如果直接将其init成一个Git库,简直是灾难,也不符合解耦的要求。 要知道Git是无法将整个
阅读全文
摘要:repo 是 repository(仓库/项目)的缩写 repo是Android为了方便管理多个git库而开发的Python脚本。。repo的出现,并非为了取代git,而是为了让Android开发者更为有效的利用git。 Android源码包含数百个git库,仅仅是下载这么多git库就是一项繁重的任
阅读全文