Use own username/password with git and bitbucket

后端 未结 7 1718
难免孤独
难免孤独 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 13:58

    I had to merge some of those good answers here! This works for me:

    git remote set-url origin 'https://bitbucket.org/teamName/repo.git'
    

    In the end, it will always prompt anyone who wants to pull from it

提交回复
热议问题