How do I update the password for Git?

后端 未结 26 2095
一整个雨季
一整个雨季 2020-12-02 03:12

I\'m using BitBucket with Xcode and Git for version control, and recently I changed all of my passwords (thanks Adobe!).

Unsurprisingly, I\'m no longer able

26条回答
  •  一个人的身影
    2020-12-02 04:06

    I was pushing into the repository for the first time. So there was no HEAD defined.

    The easiest way would be to:

    git push -u origin master
    

    It will then prompt for the password, and once you enter that it will be saved automatically, and you will be able to push.

提交回复
热议问题