Wednesday, June 1, 2016

GIT: HTTPS Repository Error

If you get the following error while pushing to a specific remote repository: The requests URL returned error: 401 Unauthorized while accessing https:...

Try adding the repository as follows first then push:

git remote add origin https://yourname@bitbucket.org/yourorg/yourrepository
......
git push -u origin

No comments:

Post a Comment