git(Pull失败问题)

2021-09-18  本文已影响0人  TMAC_EAH
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 项目 输入账号密码即可
➜  ~查询  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
上一篇下一篇

猜你喜欢

热点阅读