Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,463,473
Community Members
 
Community Events
176
Community Groups

Where do I find my repository push url

I have a newly created empty repository on bitbucket that I wish to push changes too.  I have my local copy of files I wish to commit and I have already run "git init" and "git commit...".  However I need to set up the bitbucket remote but the push url no longer shows on my repository page.  Please, where do I find it?

1 answer

1 accepted

0 votes
Answer accepted

HI @Glenn Reed,

Welcome to the community!

If you have been initialized and commit the code then now you need to push into the remote repo

Check whether you are in master or another branch using the below command

> git branch

if you are master or any other branch then to push the code to bitbucket remote repo use the below command.

> git push origin <branch_name>

Origin: nothing but the original remote branch.

Here you can find documentation about this.

Yes, but where do I find the url to use when running "git remote add origin <username>@<url>".  This is where I am stuck

Glenn,

Redirect to the repo and click on the left side panel clone there you will find the repo URL just copy it and paste.

The URL will be same but before that, you need to add the git push <URL> or git clone. 

That was it thanks

HI @Glenn Reed

If you feel this answer has been helped you to solve your issue then please don't hesitate to accept this answer.

It will help others those who will face the same issue in future.

I would if I could but I'm responding on mobile

This UI is very obscure!  I just wasted 15 mins trying to find that URL after creating an empty repo. The large (+) sign in the left hand bar does not suggest a menu that can be expanded (it suggests a CREATE NEW ... function)

Why don't you show the Push URL on the Overview page like you used to?

Your documentation for pushing code to an empty repository still shows the Push URL on the Overview Page rather than explaining that it is hidden in a clone menu option https://confluence.atlassian.com/bitbucket/push-versioned-code-to-an-empty-repository-877177145.html 

Like Andrea Adiamini likes this

Thank you, you saved my day !

I agree with you, this is something confusing !

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events