vscode用git上传到github进行源代码管理。配置文件在/home/用户名/vscode/.git文件夹下的config里。
这样配置,可以省去每次上传时要输入用户名和密码:
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[remote "origin"]
url = https://用户名:密码@github.com/项目地址.git
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
merge = refs/heads/master
网友评论