我正在尝试将我的一些项目推送到我的 github 帐户,但是当我尝试时它不会让我这样做。前几天我还能推,现在不行了。我试着跑步
cd existing_git_repo
git remote add origin https://github.com/Ommy/MapTool.git
git push -u origin master
但在 git bash 它要求
Username for 'https://github.com':
我尝试了我的用户名/密码,但它不起作用。
我试着跑步
git config --global user.name "Fasih Awan"
git config --global user.email *********@gmail.com
但即便如此,它仍然要求输入用户名/密码。我在推送之前在 github 上创建了存储库,但它仍然这样做。我究竟做错了什么?