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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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.

brunobma I'm New Here Nov 08, 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

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

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

2,584 views 1 9
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