im trying to do a checkout using sourcetree from bitbucket but im getting this error message the remote server returned an error: (405) Method not allowed
Welcome to the Atlassian community!
Let's start by checking the remote URL on your repository. A 405 error typically happens when Sourcetree is trying to access a web page URL instead of the proper Git endpoint. You can do this by going to Repository > Repository Settings > Remotes and making sure the URL ends with .git and isn't just a browser link copied from the address bar.
A few other things you could try:
If it still fails, I would run the same clone or checkout from a terminal with GIT_CURL_VERBOSE=1 to see the exact URL and method being sent, which quickly shows if it is the remote URL or the credential.
Cheer, Martin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.