用gitolite新建项目,clone后首次push,可能会出现: $ git push No refs in common and none specified; doing nothing. Perhaps you should specify a branch such as 'master'. fatal: The remote end hung up unexpectedly error: failed to push some refs to 'file:///xxxxxxx
本篇博客是整理git相关知识的第一篇,因为之前一直是用SourceTree对Git的命令行操作用的不是特别熟,于是乎过了一遍ProGit(链接:https://git-scm.com/book/zh/v1).本篇博客以及后边的将要发的几篇博客是对之前看ProGit时的笔记的整理.当然在整理时,根据具体示例来梳理了一下知识点,和ProGit上的讲解顺序有些区别.本篇博客聊了Git基础操作的一部分,主要是基于Github上Fork的Masonry仓库来做的,首先Clone相关仓库,然后根据git s