Git 设置username and email时出现拒绝访问"/>
Git 设置username and email时出现拒绝访问
由于我的c盘操作时需要管理员权限,所以使用命令行执行“git config --global user.email "...@qq"“”时会出现“error: could not lock config file c://.gitconfig: Permission denied”。
我直接使用暴力法,将[user]信息添加到仓库级配置文件。就可以完美地解决问题。
ps:我的c盘就是个big bug------
更多推荐
Git 设置username and email时出现拒绝访问
发布评论