Using Bitbucket as an extension to GitHub capabilities

Prerequisite links suggested for better understanding this article:

GIT-Let’s Get into it

Gihub to host static page

There is a huge open source community backing of GitHub and no matter what, nothing beats GitHub when we talk about user experience and interface, reliability, and everything’s just apt and perfect!

There’s a catch! In the free plan at GitHub, you can have only public repositories. Now that means that, if you are a developer and want to host your code on GitHub without choosing any of their paid plans, your project will be in a public repository. That simply means, your code will be public. Well that’s perfect for open source development, but for enterprises, needs differ.

Everyone won’t be looking to open source their work, they might be just wanting a code hosting service where they can collaborate and code. So your code has to public? No, you can have a private repo without paying GitHub, we got Bitbucket to serve this purpose.

Bitbucket offers unlimited free private repositories whereas GitHub charges for them. Public repositories are unlimited and free in both Bitbucket and GitHub to an unlimited number of contributors. At Bitbucket, a catch is that only 5 collaborators can collaborate on free private repositories. Well that can be problem though, but it helps in college projects in which the collaborators are your 4-5 friends.

Step 1 Sign up at Bitbucket and set a username and then choose your plan.

See how you can create a 5 user team account too! A team account, how cool is that!

Screen Shot 2015-11-29 at 12.48.45 PM

Step 2  Fill up all the details.Screen Shot 2015-11-29 at 12.57.57 PM

Step 3 You’re done setting up! Time to check out the Bitbucket dashboard.

Now let’s see how to create a repository.

a) Click on the create a repository button on Dashboard.

Screen Shot 2015-11-29 at 12.58.37 PM

b) Check the Access level checkbox

c) In Forking dropdown, select “Allow only private forks”

Done! You just created a private repository!

Screen Shot 2015-11-29 at 12.59.19 PM

 

Creating a TEAM on Bitbucket

Step 1 On Dashboard in the Team dropdown, Click on “create a team”.Screen Shot 2015-11-29 at 1.02.25 PM

Step 2 Now super simple!  Just fill the team details, and add the team members!

Screen Shot 2015-11-29 at 1.03.27 PM

Step 3 Done! Time to rejoice the Team Dashboard page!

Screen Shot 2015-11-29 at 2.20.29 PM

Now you can use Bitbucket to save your code in private repositories, collaborate on team projects with friends, and code something really awesome!!

You can put your doubts in comments section, I’ll get back to you.

About the Author: Hemang Kumar is an open source developer and a sophomore at USICT, hkNew Delhi pursing BTech CSE, loves to design code, web and user interfaces.He can be reached at https://www.linkedin.com/in/hemangkumar

If you also wish to showcase your blog here,please see GBlog for guest blog writing on GeeksforGeeks.



My Personal Notes arrow_drop_up


Article Tags :

Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.