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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

"let's put some bits in your bucket" missing.

When creating a new empty git repository in bitbucket, there used to be a custom git command to change the remote URL on my local repository to the Bitbucket repository.

It was a real time-saver.

It had the title: "let's put some bits in your bucket".

I can't find it anymore. What happened to it?

How do i set up origin in my local repo?

Thanx in advance.

1 answer

1 vote

Hi @brunobma ,

This page still shows when you create an empty repository in Bitbucket Cloud. If you select to create a README or a .gitignore (these are both options in the Create repository page), then the repo is not empty, it will have a commit with the README or .gitignore, so this page won't show.

If you want to create an empty repo, select 'No' for both 'Include a README?' and 'Include .gitignore?' options in the Create repository page, and you'll see the "Let's put some bits in your bucket" page.

You can add a remote to your local repo the following way:

If you use HTTPS:

git remote add origin https://username@bitbucket.org/workspace-id/repo-slug.git

where
username replace with the username of your own Bitbucket account
workspace-id replace with the workspace ID that owns the repo
repo-slug replace with the repository slug for the new repo you created

If you use SSH:

git remote add origin git@bitbucket.org:workspace-id/repo-slug.git

where
workspace-id replace with the workspace ID that owns the repo
repo-slug replace with the repository slug for the new repo you created

Please feel free to let me know if you have any questions.

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,740 views 10 16
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you