git常用小操作。-- 自用

编辑 .gitignore

bin-debug/  忽略所有的叫bin-debug文件夹和他下面的文件

编辑 .git/config

[core]

        repositoryformatversion = 0 

        filemode = false  // 提交时,忽略文件rwx权限的变化。

        bare = false

        logallrefupdates = true

        ignorecase = true

        precomposeunicode = true

[remote "origin"]

        url = http://192.168.0.167/macheng/tianxiaohua111.git

        fetch = +refs/heads/*:refs/remotes/origin/*

[branch "master"]

        remote = origin

        merge = refs/heads/master

原文地址:https://www.cnblogs.com/sweetXiaoma/p/9056996.html