git(Pull失敗問題)

14:13:29.843: [../../StudioProjects] git -c core.quotepath=false -c log.showSignature=false clone --progress --recurse-submodules http://49android.git -- map_antifake_androids
Cloning into 'map_antifake_androids'...
remote: The project you were looking for could not be found.
fatal: repository 'http://49ndroid.git/' not found
14:15:12.149: [map_antifake_android] git -c core.quotepath=false -c log.showSignature=false -c core.commentChar=? pull --no-stat -v --progress origin master
hint: Pulling without specifying how to reconcile divergent branches is
hint: discouraged. You can squelch this message by running one of the following
hint: commands sometime before your next pull:
hint: 
hint:   git config pull.rebase false  # merge (the default strategy)
hint:   git config pull.rebase true   # rebase
hint:   git config pull.ff only       # fast-forward only
hint: 
hint: You can replace "git config" with "git config --global" to set a default
hint: preference for all repositories. You can also pass --rebase, --no-rebase,
hint: or --ff-only on the command line to override the configured default per
hint: invocation.
remote: The project you were looking for could not be found.
fatal: repository 'http://4/maroid.git/' not found


?  ~ git config --show-origin --get credential.helper
file:/Library/Developer/CommandLineTools/usr/share/git-core/gitconfig   osxkeychain

清空密碼信息
把gitconfig改名了

--> 重新操作 git pull 項(xiàng)目 輸入賬號(hào)密碼即可
?  ~查詢  git config credential.helper  啥都沒有

$ git credential-manager uninstall
 
$ git credential-manager install

git: 'credential-manager' is not a git command. See 'git --help'.

git config --list


git config --global --unset credential.helper

git config –system –unset credential.helper

git config –global http.emptyAuth true


git config --system --unset credential.helper

error: could not lock config file /etc/gitconfig: Permission denied

sudo git config --system --unset credential.helper
最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容