I am trying to push git repository on bitbucket.
i Already have a Git repository on my computer? i followed the instructions
cd /path/to/my/repo git remote add origin https://rajat_jain_@bitbucket.org/rajat_jain_/blog.git git push -u origin --all # pushes up the repo and its refs for the first time git push -u origin --tags # pushes up any tags
after typing third command it ask me for password.i type my ubuntu password.
to which it shows
fatal: Authentication failed for 'https://rajat_jain_@bitbucket.org/rajat_jain_/blog.git/'
what should i do ?
Hi, Rajat!
Not sure if I understood your problem correctly. But when you say you typed your ubuntu password, do you mean your local machine's user? If so, it's not what you should do.
When you run git push from your local machine to your Bitbucket repository you need to enter your Bitbucket's user password. The same you use to log in to https://bitbucket.org
Worked for me !Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.