我可以解决 git init 不工作的问题吗

问题描述 投票:0回答:1

enter image description here 我已经使用 git init enter image description here 我的文件没有变成绿色,我无法对 git 做任何事情。它总是说我需要许可 enter image description here 下面的图片是我想要从 YouTuber 捕获的内容:Zinglecode enter image description here

请帮忙。我很新。这是我的第一个网站,我之前从未学习过任何有关代码的知识。

我需要解决这个问题的方法。 为什么会变成这样。

python django git permissions settings
1个回答
0
投票

很难理解发生了什么,从图像中我假设存在错误的设置,尝试使用文件夹 C:/Users/User 作为排除文件。正如这个答案中提到的,尝试查看错误的设置在哪里:

git config core.excludesfile
git config --global core.excludesfile

然后修改它。

© www.soinside.com 2019 - 2024. All rights reserved.