Git配置error:could not lock config file .../.gitconfig:No such file or directory

今天設置git用戶和密碼時忽然報錯error:could not lock config file .../.gitconfig:No such file or directoryjava 檢查了C:/Users/LC目錄下是有.gitconfig配置文件的,在網上搜查的方法都不適用,花了很常時間才發現原來是多了一個空格,git 環境變量以前用的是%USERPROFILE%改爲C:/Users/L
相關文章
相關標籤/搜索