1、git中可以加入忽略文件权限的配置,
具体如下:
$ git config core.filemode false
查看:
root@jin-home:/home/jin/view/code# cat .git/config
[core]
repositoryformatversion = 0
filemode = false
bare = false
logallrefupdates = true
ignorecase = false
[remote "origin"]
url = git@120.27.160.167:ZCY/code.git
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
merge = refs/heads/master
2、配置Git支持大小写敏感和修改文件名中大小写字母
git config --system core.ignorecase false
3、git客户端-smartGit
http://www.syntevo.com/smartgit/download
最后编辑于 :
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。