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

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

brunobma
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 8, 2020

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
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 9, 2020

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

habpygo
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 2, 2023

Hi @Theodora Boudale and @brunobma . I had exactly the same problem and this, "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." indeed was the answer.

In my case it was the .gitignore file that was generated. Why is Atlassian not turn it off as a default start. I thinkg that most devs are first building on their local machine and only later push it up.
My two cents.
Kind regards,
Harry

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events