the working copy"" failed to commit files. 不能COMMIT

来源:互联网 发布:福建文化特色 知乎 编辑:程序博客网 时间:2024/06/05 03:28

the working copy"" failed to commit files.


git commit的时候出现上面的问题。

cd 到git本地的地址。

然后cd .git(.git文件为隐藏文件)

vi config

[core]

        repositoryformatversion = 0

        filemode = true

        bare = false

        logallrefupdates = true

        ignorecase = true

        precomposeunicode = true

[user]

        email = 你的邮箱

        name = 你的名字

把红色字体添加上就可以了。这样本地就知道你是谁了。上

0 0
原创粉丝点击