合并不同源的代码
git merge upstream/master –allow-unrelated-histories
所有的远程分支
git branch -a
忽略文件系统的差异
1
2git config core.filemode false
git config --global core.filemode false # 全局不生效
凭证管理 credential.helper
1 | git config --global credential.helper store |
https://git-scm.com/book/zh/v2/Git-%E5%B7%A5%E5%85%B7-%E5%87%AD%E8%AF%81%E5%AD%98%E5%82%A8
区分大小写
```
git config core.ignorecase false
https://jinlong.github.io/2015/10/12/syncing-a-fork/
http://blog.csdn.net/lindexi_gd/article/details/52554159