Git pushing to a private repo

前端 未结 4 846

I have been working on my local on a web app and I was ask to push it to an empty(only read me file on it) private repo created just for this project. I\'m new to git<

4条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-07 12:09

    I was facing the same problem. I was able to solve this by removing old credentials from windows.

    1. Open Control Panel from the Start menu
    2. Go to User Accounts -> Credential Manager -> Manage Windows Credentials
    3. Delete any credentials related to Git or GitHub

    Once I did this, it started working again.

提交回复
热议问题