Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×As we know, when we login to bitbucket it asks for Atlassian registerd email address to be used for login to bitbucket.
let say I am having email address : vverma@xyz.com
and password : vinayverma
know If I try to push my changes to bitbucket using following command :
"git push https://vverma@xyz.com:vinayverma@bitbucket.org/repository.git --all"
It is not allowing me to push my changes and throws error :
Could not resolve host: xyz.com:vinayverma@bitbucket.org
I tried passing the username and password into variables and used them, still I am getting the same error msg. Could somebody please help me to get the solution, How to push my changes to a GIT repo using command.
Can you try
"git push https://vverma%40xyz.com:vinayverma@bitbucket.org/repository.git --all"
The '@' in the URL marks the end of the credentials and the start of the hostname, so the '@' in the username needs to be URL-encoded.
That isn't the username for pushes or pulls. Go to https://bitbucket.org/account (while logged in) and it'll list the username you should use.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.