您好,欢迎来到伴沃教育。
搜索
您的当前位置:首页GIT小知识

GIT小知识

来源:伴沃教育

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

Copyright © 2019- bangwoyixia.com 版权所有 湘ICP备2023022004号-2

违法及侵权请联系:TEL:199 1889 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务