我正在尝试向一个代码库推送代码,它确实存在且链接正确。我正在强制让它要求我输入用户名和密码,因为我认为出了点问题。错误信息如下:
λ git push origin master --force -v
Pushing to https://github.com/wojlive/liveandnow.git
remote: Repository not found.
fatal: repository 'https://github.com/wojlive/liveandnow.git/' not found
git remote rm origin
然后执行git remote add origin https://github.com/wojlive/liveandnow.git/
。 - Hamza Anisgit config --list
命令并回复任何credential
条目(例如credential.helper
),并检查~/.git-credentials 或$XDG_CONFIG_HOME/git/credentials文件。 - vossad01