fatal: 不是一个有效的对象名:'master'。

听说git比svn的branch功能好,所以装了个msysgit玩.执行完了git init操作后想建branch,用git branch develop命令,结果报错,说
fatal: Not a valid object name: 'master'
看了这个篇文章http://stackoverflow.com/questions/9162271/fatal-not-a-valid-object-name-master,才知道要先commit一些东西,否则master是不存在的.

 
原文地址:https://www.cnblogs.com/qqhfeng/p/11191966.html