赞
踩
先建立一个空文件夹。
或者可在项目下的.git目录下找到config文件。打开后,具体代码可修改为如下内容。重启VS code
[core]
repositoryformatversion = 0
filemode = false
bare = false
logallrefupdates = true
symlinks = false
ignorecase = true
[remote "origin"]
url = https://e.coding.net/XXXXXXXX
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "main"]
remote = origin
merge = refs/heads/main
其他参考
一文吃透 VS Code+Git 操作(vs code中git的相关配置与使用)_Developer 小马的博客-CSDN博客_code git
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。