Last active
August 8, 2022 13:21
-
-
Save uaibo/9e268af62853fdd64bef2f2730bbcd42 to your computer and use it in GitHub Desktop.
Add acces for yourself to bitbucket repo.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) Generate your app password & grant access to Repositories | |
https://bitbucket.org/account/settings/app-passwords/ | |
2) sudo nano .git/config | |
3) Add the following content | |
[remote "origin"] | |
url = https://{YOUR_BITBUCKET_USERNAME}:{APP_PASSWORD_YOU_HAVE_GENERATED}@bitbucket.org/{COMPANY_NAME}/{REPO_NAME}.git | |
fetch = +refs/heads/*:refs/remotes/origin/* | |
[branch "master"] | |
remote = origin | |
merge = refs/heads/master | |
4) Done. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment