摘要:
比如说现在的project就是一个git repo,在这个project中我们有一些参考的project的源代码,也是git repo的形式。这样就会有问题,git push的时候,子git repo就没法push到server上(不知道为什么)。所以这样的子git repo就需要去掉.git目录,一般来说,下载该project的release package解开即可。我想这也可能是repo出现的原因吧。如果上述的情况git可以handle,就不需要repo了吧。 阅读全文
摘要:
# Add "--global" if you want this config to be globallygit config alias.cs "commit -s"git config user.name "<your name>"git config user.email "<your mail>"So after that, use "git cs" instead of "git commit". 阅读全文