How to Use Bitbucket with Github for Mac

I like BitBucket – all the cool kids use Github, but for small businesses BitBucket is great. Why? Because it has free private repositories for teams of 5 or smaller. And that’s me right there.

Currently I am using BitBucket for Brush Ninja, and I’ve recently started using it for Pro Theme Design. We use Git at Miniclip, and we also use a lot of the Atlassian suite. We actually host Git ourselves and don’t use BitBucket – but we do use Stash, Bamboo, Jira, and Confluence – so I’m quite well versed in their apps. As such I use SourceTree for my Git management. Much nicer than the command line – but also more complex than the Github Mac app.

Darren however isn’t used to SourceTree or BitBucket. He uses Github – and Github for Mac – but Github for Mac is designed around Github so using it for external repositories can be a little confusing. To help with this – I have written a short guide for adding an external repository to Github for Mac.

  1. Login to BitBucket and go to the repository you want to use
  2. Click the “Clone” button, and change the drop down option to HTTPS.
  3. Copy the command that appears (something like: git clone https://[email protected]/team-name/repository-name.git)
  4. Open terminal on your mac and navigate to wherever you want the theme files stored.
  5. Paste the clone command in the terminal, press enter and then enter your password when requested.
  6. In Github for Mac go to the repositories screen and click the + sign in the status bar.
  7. Select Add Local Repository – and then select the repository you folder you want to add.
  8. Done

Note that for this to work you will need to have Git installed on your dev machine. You can download Git from the official website.

I’ve only tried this with Github for Mac and BitBucket but I imagine the instructions will be basically the same for any 3rd party repository, and almost the same for the Windows version of the Github app.

How was it for you? Let me know on BlueSky or Mastodon

(Please) Link to this page

Thanks for reading. I'd really appreciate it if you'd link to this page if you mention it in your newsletter or on your blog.

Related Posts

25 Jun 2018

Brush Ninja

4 years ago I uploaded a video of an animation creator website I was building called Brush Ninja. Then mostly forgot about it.The project was too much for my knowledge at the time. I was planning to make a full...
29 Jul 2013

Brush Ninja – An Upcoming HTML5 Animation Website

I’m thrilled to announce my latest project – Brush Ninja. Brush Ninja is a browser-based animation app that aims to bring back the simplicity and creativity of early versions of similar platforms.Sketch StarI am employed by Miniclip, an online games...
09 Feb 2018

Getting Started With Github Desktop

When I wrote about using Github for Copywriters I wanted to keep things simple so that my copywriter friend could edit website content easily without having to worry about using Github properly. The problem is he now wants to create...
01 Apr 2015

The State of WordPress Themes #wcldn

I recently spoke on a panel at WordCamp London 2015e. Lance – who used to be the Theme Team lead at WordPress.com – asked me if I wanted to speak on a panel with him at WordCamp London 2015. I’ve...
10 Sep 2016

Using Github for Copywriters (via the Github website)

I’m currently working on a new WordPress course (MasterWP – first email is sent on Monday 12th September) that helps to teach things beyond the basics – and to do it I need a website. I’m making the course with...
06 Nov 2014

Updating SourceTree Git Login Credentials

At work we use Git for versioning our code. We also use the suite of Atlassian products for managing tasks, code, and deployment. As such I use SourceTree a lot to manage my code. We’re also security conscious and so...