GIT push related issue

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 :

and password : vinayverma

know If I try to push my changes to bitbucket using following command : 

"git push --all"


It is not allowing me to push my changes and throws error : 

Could not resolve host:


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.

1 answer

1 accepted

1 vote
Answer accepted

Can you try

"git push --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.

Jim Redmond Atlassian Team Jan 09, 2018

That isn't the username for pushes or pulls. Go to (while logged in) and it'll list the username you should use.

Thanks! The solution worked :-)

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Thursday in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder :  #!/bin/bash source "$(dirname "$0")/" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables ROLLBAR_ACCESS_TOKEN...

185 views 0 12
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you