Use own username/password with git and bitbucket

后端 未结 7 1744
难免孤独
难免孤独 2020-12-07 13:08

I\'m in a team of three; two are working locally, and I am working on the server.

My coworker set up the account, but gave me full privileges to the repository.

7条回答
  •  忘掉有多难
    2020-12-07 14:01

    Run

    git remote -v
    

    and check whether your origin's URL has your co-worker's username hardcoded in there. If so, substitute it with your own:

    git remote set-url origin 
    

提交回复
热议问题