SlideShare a Scribd company logo
BitBucket presentation
Why Host codes online???
Any programmer worth their salt knows that source
control is crucial. The most obvious perk is allowing you to
securely store your code in a safe place. It doesn’t stop there.
Having good source control makes it easier to experiment
with new features without worrying about irreparably
damaging your program. Source control is something we all
should do.
Sample Hosting services include:
SourceForge Google Code GitHub BitBucket CodePlex
The need of online collaborative work.
1. Track your change sets, monitor your source code
edits, and drill through to your source files.
2. It’s worth having a backup.
3. The quicker you make your code publicly available,
the quicker you can gain feedback and people to
help you.
4. Getting feedback of users and interested developers
who might want to join your team, provide helpful
idea and move this project forward.
4
Definition – BitBucket
Bitbucket is a hosting service for projects that use either the
Mercurial or Git revision control systems. Bitbucket offers free
source code hosting for Git and Mercurial projects as well as
project wikis and issue tracking. Host your code online in as
many public and private repositories as you want. Free five-user
tier accounts! Manage your projects with confidence with built-
in issue trackers, wikis, code comments, and pull requests.
Bitbucket is written in Python using the Django web framework.
It is similar to GitHub, which primarily uses Git.
Technical Terms
1.
Repository
2.
Fork
3.
Clone
6.
7.
Pull
Commit
5.
Push
4. 8.
Git Fetch
 It refers to a storage location,
often for safety or preservation.
A repository contains all of the
project files (including
documentation), and stores
each file's revision history.
Repositories can have multiple
collaborators and can be either
public or private.
Repository
 A fork is a personal copy of
another user's repository that lives
on your account. Forks allow you to
freely make changes to a project
without affecting the original.
Forks remain attached to the
original, allowing you to submit a
pull request to the original's author
to update with your changes.
Fork
 A clone is a copy of a repository
that lives on your computer
instead of on a website's server
somewhere, or the act of making
that copy.
With your clone you can edit the
files in your preferred editor and
use Git to keep track of your
changes without having to be
online.
Clone
 Git is an open source
program for tracking
changes in text files.
Git
Pushing refers to sending your committed
changes to a remote repository such as Bitbucket.
For instance, if you change something locally,
you'd want to then push those changes so that
others may access them.
Push
 Pull refers to when you are
fetching in changes and merging them.
For instance, if someone has edited the remote
file you're both working on, you'll want to pull in
those changes to your local copy so that it's up to
date.
Pull
 A commit, or "revision", is an individual
change to a file (or set of files). It's like when
you save a file, except with Git, every time you
save it creates a unique ID (a.k.a. the "SHA" or
"hash") that allows you to keep record of what
changes were made when and by who.
Commits usually contain a commit message
which is a brief description of what changes
were made.
Commit
 Fetching refers to getting the latest changes from
an online repository (like BitBucket) without
merging them in.
Once these changes are fetched you can compare
them to your local branches (the code residing on
your local machine)
Fetch
1.
Create a repository
To create a repo, do the following:
1. Log into Bitbucket Cloud under your individual account.
2. Click Repositories > Create repository or the Create new
repository link.
3. Choose a repository Owner.
This only appears if you are creating under an account
with membership in one or more teams.
4. Enter a Name and Description for your repository.
5. Tick Private if you want to hide your repository from the
general public, so that only selected people can see it.
6. Select the Repository type.
7. Click Create repository.
How to:
2.
Clone a repository
1. Navigate to the repository in Bitbucket.
2. Click the Clone button.
3. Copy the clone command (either the SSH format or the
HTTPS).
If you are using the SSH protocol, ensure your public key
is in Bitbucket and loaded on the local system to which
you are cloning.
4. Launch a terminal window.
5. Change to the local directory where you want to clone
your repository.
6. Paste the command you copied from Bitbucket, for
example:
$ git clone ssh://git@bitbucket.example.com:7999/PROJ/repo.git
3.
Add code to you newly created repo.
1. $ mkdir /path/to/your/project
2. $ cd /path/to/your/project
3. $ git init
4. $ git commit -m "First commit”
5. $ git remote add origin
ssh://git@bitbucket.org/username/bbreponame.git
6. $ git push -u origin --all
Create a local clone of your fork
1. On Bitbucket, navigate to your fork of your repository.
2. In the right sidebar of your fork's repository page, copy the clone
URL for your fork.
3. Open git Terminal
4. Type git clone and then paste the URL you copied in Step 2. It will
look like this, with your Bitbucket username:
5. Press Enter. Your local clone will be created
4.
$ git clone https://github.com/YOUR-USERNAME/your-repo
Benefits of BitBucket…….
It’s worth having a
backup
Git has proven to
be effective for
projects with
hundreds and even
thousands of active
contributors.
Avoid parallel code
conflicts and
overwriting of each
others' work.
Questions / Answers
Ad

More Related Content

What's hot (20)

Using Git and BitBucket
Using Git and BitBucketUsing Git and BitBucket
Using Git and BitBucket
Medhat Dawoud
 
Git with bitbucket
Git with bitbucketGit with bitbucket
Git with bitbucket
Sumin Byeon
 
Intro to Git, GitHub, and BitBucket
Intro to Git, GitHub, and BitBucketIntro to Git, GitHub, and BitBucket
Intro to Git, GitHub, and BitBucket
Legal Services National Technology Assistance Project (LSNTAP)
 
Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...
Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...
Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...
Simplilearn
 
CI/CD with Github Actions
CI/CD with Github ActionsCI/CD with Github Actions
CI/CD with Github Actions
Md. Minhazul Haque
 
Introduction to Github Actions
Introduction to Github ActionsIntroduction to Github Actions
Introduction to Github Actions
Knoldus Inc.
 
Git & GitLab
Git & GitLabGit & GitLab
Git & GitLab
Gaurav Wable
 
Github basics
Github basicsGithub basics
Github basics
Radoslav Georgiev
 
Introduction to GitHub Actions
Introduction to GitHub ActionsIntroduction to GitHub Actions
Introduction to GitHub Actions
Bo-Yi Wu
 
GitHub Basics - Derek Bable
GitHub Basics - Derek BableGitHub Basics - Derek Bable
GitHub Basics - Derek Bable
"FENG "GEORGE"" YU
 
Bitbucket and Git
Bitbucket and GitBitbucket and Git
Bitbucket and Git
Mohit Shukla
 
Introduction to GitHub Actions
Introduction to GitHub ActionsIntroduction to GitHub Actions
Introduction to GitHub Actions
Knoldus Inc.
 
Intro to git and git hub
Intro to git and git hubIntro to git and git hub
Intro to git and git hub
Venkat Malladi
 
Git basics
Git basicsGit basics
Git basics
GHARSALLAH Mohamed
 
Github
GithubGithub
Github
IFEDAYO ADEYEMI
 
Introducing GitLab
Introducing GitLabIntroducing GitLab
Introducing GitLab
Taisuke Inoue
 
Introduction git
Introduction gitIntroduction git
Introduction git
Dian Sigit Prastowo
 
Github
GithubGithub
Github
MeetPatel710
 
Version control
Version controlVersion control
Version control
visual28
 
Git Pull Requests
Git Pull RequestsGit Pull Requests
Git Pull Requests
Callon Campbell
 

Viewers also liked (20)

Introduction to Git(BitBucket) , Continuous Integration (Bamboo) & Confluence
Introduction to Git(BitBucket) , Continuous Integration (Bamboo) & Confluence Introduction to Git(BitBucket) , Continuous Integration (Bamboo) & Confluence
Introduction to Git(BitBucket) , Continuous Integration (Bamboo) & Confluence
Parag Gajbhiye
 
FishEye and Crucible Presentation
FishEye and Crucible PresentationFishEye and Crucible Presentation
FishEye and Crucible Presentation
Ellen Feaheny
 
Continuous Integration with Bamboo for Salesforce
Continuous Integration with Bamboo for SalesforceContinuous Integration with Bamboo for Salesforce
Continuous Integration with Bamboo for Salesforce
Klea Kolaric
 
Points.com fisheye crucible code reviews 2011
Points.com fisheye crucible code reviews 2011Points.com fisheye crucible code reviews 2011
Points.com fisheye crucible code reviews 2011
pointstechgeeks
 
How Atlassian Scales Bitbucket Data Center on AWS
How Atlassian Scales Bitbucket Data Center on AWSHow Atlassian Scales Bitbucket Data Center on AWS
How Atlassian Scales Bitbucket Data Center on AWS
Atlassian
 
Building on the Shoulders of Giants: the Story of Bitbucket Pipelines
Building on the Shoulders of Giants: the Story of Bitbucket PipelinesBuilding on the Shoulders of Giants: the Story of Bitbucket Pipelines
Building on the Shoulders of Giants: the Story of Bitbucket Pipelines
Atlassian
 
git-and-bitbucket
git-and-bitbucketgit-and-bitbucket
git-and-bitbucket
azwildcat
 
Using Bitbucket and Mercurial
Using Bitbucket and MercurialUsing Bitbucket and Mercurial
Using Bitbucket and Mercurial
Gramener
 
fms9_cwp_php_en
fms9_cwp_php_enfms9_cwp_php_en
fms9_cwp_php_en
tutorialsruby
 
AtlasCamp 2015: Bitbucket: Building kick-ass tools for 2.5M developers
AtlasCamp 2015:  Bitbucket: Building kick-ass tools for 2.5M developersAtlasCamp 2015:  Bitbucket: Building kick-ass tools for 2.5M developers
AtlasCamp 2015: Bitbucket: Building kick-ass tools for 2.5M developers
Atlassian
 
AtlasCamp 2015: Builders advancing humanity: Past to future
AtlasCamp 2015: Builders advancing humanity: Past to futureAtlasCamp 2015: Builders advancing humanity: Past to future
AtlasCamp 2015: Builders advancing humanity: Past to future
Atlassian
 
Making the Switch: One Team's Story of Adopting JIRA, FishEye, Eclipse & Myly...
Making the Switch: One Team's Story of Adopting JIRA, FishEye, Eclipse & Myly...Making the Switch: One Team's Story of Adopting JIRA, FishEye, Eclipse & Myly...
Making the Switch: One Team's Story of Adopting JIRA, FishEye, Eclipse & Myly...
Atlassian
 
Introduction to polymer project
Introduction to polymer projectIntroduction to polymer project
Introduction to polymer project
Christoforus Surjoputro
 
The Fisheye Analytics media lens training deck
The Fisheye Analytics media lens training deckThe Fisheye Analytics media lens training deck
The Fisheye Analytics media lens training deck
Fisheye Analytics
 
Polymer project presentation
Polymer project presentationPolymer project presentation
Polymer project presentation
jskvara
 
Reactjs
Reactjs Reactjs
Reactjs
Neha Sharma
 
The rise of Polymer and Web Components (Kostas Karolemeas) - GreeceJS #17
The rise of Polymer and Web Components (Kostas Karolemeas) - GreeceJS #17The rise of Polymer and Web Components (Kostas Karolemeas) - GreeceJS #17
The rise of Polymer and Web Components (Kostas Karolemeas) - GreeceJS #17
GreeceJS
 
Release & Change management in salesforce
Release & Change management in salesforceRelease & Change management in salesforce
Release & Change management in salesforce
Kalyan Lanka ☁
 
Google Polymer Framework
Google Polymer FrameworkGoogle Polymer Framework
Google Polymer Framework
Kostas Karolemeas
 
Introduction to Git(BitBucket) , Continuous Integration (Bamboo) & Confluence
Introduction to Git(BitBucket) , Continuous Integration (Bamboo) & Confluence Introduction to Git(BitBucket) , Continuous Integration (Bamboo) & Confluence
Introduction to Git(BitBucket) , Continuous Integration (Bamboo) & Confluence
Parag Gajbhiye
 
FishEye and Crucible Presentation
FishEye and Crucible PresentationFishEye and Crucible Presentation
FishEye and Crucible Presentation
Ellen Feaheny
 
Continuous Integration with Bamboo for Salesforce
Continuous Integration with Bamboo for SalesforceContinuous Integration with Bamboo for Salesforce
Continuous Integration with Bamboo for Salesforce
Klea Kolaric
 
Points.com fisheye crucible code reviews 2011
Points.com fisheye crucible code reviews 2011Points.com fisheye crucible code reviews 2011
Points.com fisheye crucible code reviews 2011
pointstechgeeks
 
How Atlassian Scales Bitbucket Data Center on AWS
How Atlassian Scales Bitbucket Data Center on AWSHow Atlassian Scales Bitbucket Data Center on AWS
How Atlassian Scales Bitbucket Data Center on AWS
Atlassian
 
Building on the Shoulders of Giants: the Story of Bitbucket Pipelines
Building on the Shoulders of Giants: the Story of Bitbucket PipelinesBuilding on the Shoulders of Giants: the Story of Bitbucket Pipelines
Building on the Shoulders of Giants: the Story of Bitbucket Pipelines
Atlassian
 
git-and-bitbucket
git-and-bitbucketgit-and-bitbucket
git-and-bitbucket
azwildcat
 
Using Bitbucket and Mercurial
Using Bitbucket and MercurialUsing Bitbucket and Mercurial
Using Bitbucket and Mercurial
Gramener
 
AtlasCamp 2015: Bitbucket: Building kick-ass tools for 2.5M developers
AtlasCamp 2015:  Bitbucket: Building kick-ass tools for 2.5M developersAtlasCamp 2015:  Bitbucket: Building kick-ass tools for 2.5M developers
AtlasCamp 2015: Bitbucket: Building kick-ass tools for 2.5M developers
Atlassian
 
AtlasCamp 2015: Builders advancing humanity: Past to future
AtlasCamp 2015: Builders advancing humanity: Past to futureAtlasCamp 2015: Builders advancing humanity: Past to future
AtlasCamp 2015: Builders advancing humanity: Past to future
Atlassian
 
Making the Switch: One Team's Story of Adopting JIRA, FishEye, Eclipse & Myly...
Making the Switch: One Team's Story of Adopting JIRA, FishEye, Eclipse & Myly...Making the Switch: One Team's Story of Adopting JIRA, FishEye, Eclipse & Myly...
Making the Switch: One Team's Story of Adopting JIRA, FishEye, Eclipse & Myly...
Atlassian
 
The Fisheye Analytics media lens training deck
The Fisheye Analytics media lens training deckThe Fisheye Analytics media lens training deck
The Fisheye Analytics media lens training deck
Fisheye Analytics
 
Polymer project presentation
Polymer project presentationPolymer project presentation
Polymer project presentation
jskvara
 
The rise of Polymer and Web Components (Kostas Karolemeas) - GreeceJS #17
The rise of Polymer and Web Components (Kostas Karolemeas) - GreeceJS #17The rise of Polymer and Web Components (Kostas Karolemeas) - GreeceJS #17
The rise of Polymer and Web Components (Kostas Karolemeas) - GreeceJS #17
GreeceJS
 
Release & Change management in salesforce
Release & Change management in salesforceRelease & Change management in salesforce
Release & Change management in salesforce
Kalyan Lanka ☁
 
Ad

Similar to BitBucket presentation (20)

Bitbucket Devops PPT.pptx
Bitbucket Devops PPT.pptxBitbucket Devops PPT.pptx
Bitbucket Devops PPT.pptx
XIE2020Students
 
Rc094 010d-git 2 - desconocido
Rc094 010d-git 2 - desconocidoRc094 010d-git 2 - desconocido
Rc094 010d-git 2 - desconocido
Luis Bertel
 
git github PPT_GDSCIIITK.pptx
git github PPT_GDSCIIITK.pptxgit github PPT_GDSCIIITK.pptx
git github PPT_GDSCIIITK.pptx
AbelPhilipJoseph
 
Introduction to git hub
Introduction to git hubIntroduction to git hub
Introduction to git hub
Naveen Pandey
 
Git & GitHub N00bs
Git & GitHub N00bsGit & GitHub N00bs
Git & GitHub N00bs
YasserElsnbary
 
Introductio to Git and GitHub Session 2 by gdg on campus kab
Introductio to Git and GitHub Session 2 by gdg on campus kabIntroductio to Git and GitHub Session 2 by gdg on campus kab
Introductio to Git and GitHub Session 2 by gdg on campus kab
makobisimon
 
setting up a repository using GIT
setting up a repository using GITsetting up a repository using GIT
setting up a repository using GIT
Ashok Kumar Satuluri
 
GIT By Sivakrishna
GIT By SivakrishnaGIT By Sivakrishna
GIT By Sivakrishna
Nyros Technologies
 
Hacktoberfest 2020 - Open source for beginners
Hacktoberfest 2020 - Open source for beginnersHacktoberfest 2020 - Open source for beginners
Hacktoberfest 2020 - Open source for beginners
DeepikaRana30
 
Beginner's guide to git and github
Beginner's guide to git and github Beginner's guide to git and github
Beginner's guide to git and github
SahilSonar4
 
Git Tutorial A Comprehensive Guide for Beginners.pdf
Git Tutorial A Comprehensive Guide for Beginners.pdfGit Tutorial A Comprehensive Guide for Beginners.pdf
Git Tutorial A Comprehensive Guide for Beginners.pdf
uzair
 
git Versioning
git Versioninggit Versioning
git Versioning
SaravanaN Nagarajan
 
Git
GitGit
Git
Amjad Mahfoud
 
Mini-training: Let’s Git It!
Mini-training: Let’s Git It!Mini-training: Let’s Git It!
Mini-training: Let’s Git It!
Betclic Everest Group Tech Team
 
Git, github and the hacktober fest
Git, github and the hacktober festGit, github and the hacktober fest
Git, github and the hacktober fest
UtkarshRaj83
 
Introduction to GitHub, Open Source and Tech Article
Introduction to GitHub, Open Source and Tech ArticleIntroduction to GitHub, Open Source and Tech Article
Introduction to GitHub, Open Source and Tech Article
PRIYATHAMDARISI
 
Understanding Github and Version Control System.pptx
Understanding Github and Version Control System.pptxUnderstanding Github and Version Control System.pptx
Understanding Github and Version Control System.pptx
AdebisiJoe
 
GitHub Workflows for Technical Communication
GitHub Workflows for Technical CommunicationGitHub Workflows for Technical Communication
GitHub Workflows for Technical Communication
STC-Philadelphia Metro Chapter
 
Get Git with It! A Developer's Workshop.pptx
Get Git with It! A Developer's Workshop.pptxGet Git with It! A Developer's Workshop.pptx
Get Git with It! A Developer's Workshop.pptx
Google Developer Students Clubs - CTU
 
GIT & Github introduction for beginners
GIT & Github introduction for  beginnersGIT & Github introduction for  beginners
GIT & Github introduction for beginners
riteshsingh3651
 
Bitbucket Devops PPT.pptx
Bitbucket Devops PPT.pptxBitbucket Devops PPT.pptx
Bitbucket Devops PPT.pptx
XIE2020Students
 
Rc094 010d-git 2 - desconocido
Rc094 010d-git 2 - desconocidoRc094 010d-git 2 - desconocido
Rc094 010d-git 2 - desconocido
Luis Bertel
 
git github PPT_GDSCIIITK.pptx
git github PPT_GDSCIIITK.pptxgit github PPT_GDSCIIITK.pptx
git github PPT_GDSCIIITK.pptx
AbelPhilipJoseph
 
Introduction to git hub
Introduction to git hubIntroduction to git hub
Introduction to git hub
Naveen Pandey
 
Introductio to Git and GitHub Session 2 by gdg on campus kab
Introductio to Git and GitHub Session 2 by gdg on campus kabIntroductio to Git and GitHub Session 2 by gdg on campus kab
Introductio to Git and GitHub Session 2 by gdg on campus kab
makobisimon
 
Hacktoberfest 2020 - Open source for beginners
Hacktoberfest 2020 - Open source for beginnersHacktoberfest 2020 - Open source for beginners
Hacktoberfest 2020 - Open source for beginners
DeepikaRana30
 
Beginner's guide to git and github
Beginner's guide to git and github Beginner's guide to git and github
Beginner's guide to git and github
SahilSonar4
 
Git Tutorial A Comprehensive Guide for Beginners.pdf
Git Tutorial A Comprehensive Guide for Beginners.pdfGit Tutorial A Comprehensive Guide for Beginners.pdf
Git Tutorial A Comprehensive Guide for Beginners.pdf
uzair
 
Git, github and the hacktober fest
Git, github and the hacktober festGit, github and the hacktober fest
Git, github and the hacktober fest
UtkarshRaj83
 
Introduction to GitHub, Open Source and Tech Article
Introduction to GitHub, Open Source and Tech ArticleIntroduction to GitHub, Open Source and Tech Article
Introduction to GitHub, Open Source and Tech Article
PRIYATHAMDARISI
 
Understanding Github and Version Control System.pptx
Understanding Github and Version Control System.pptxUnderstanding Github and Version Control System.pptx
Understanding Github and Version Control System.pptx
AdebisiJoe
 
GIT & Github introduction for beginners
GIT & Github introduction for  beginnersGIT & Github introduction for  beginners
GIT & Github introduction for beginners
riteshsingh3651
 
Ad

BitBucket presentation

  • 2. Why Host codes online??? Any programmer worth their salt knows that source control is crucial. The most obvious perk is allowing you to securely store your code in a safe place. It doesn’t stop there. Having good source control makes it easier to experiment with new features without worrying about irreparably damaging your program. Source control is something we all should do. Sample Hosting services include: SourceForge Google Code GitHub BitBucket CodePlex
  • 3. The need of online collaborative work. 1. Track your change sets, monitor your source code edits, and drill through to your source files. 2. It’s worth having a backup. 3. The quicker you make your code publicly available, the quicker you can gain feedback and people to help you. 4. Getting feedback of users and interested developers who might want to join your team, provide helpful idea and move this project forward.
  • 4. 4 Definition – BitBucket Bitbucket is a hosting service for projects that use either the Mercurial or Git revision control systems. Bitbucket offers free source code hosting for Git and Mercurial projects as well as project wikis and issue tracking. Host your code online in as many public and private repositories as you want. Free five-user tier accounts! Manage your projects with confidence with built- in issue trackers, wikis, code comments, and pull requests. Bitbucket is written in Python using the Django web framework. It is similar to GitHub, which primarily uses Git.
  • 6.  It refers to a storage location, often for safety or preservation. A repository contains all of the project files (including documentation), and stores each file's revision history. Repositories can have multiple collaborators and can be either public or private. Repository
  • 7.  A fork is a personal copy of another user's repository that lives on your account. Forks allow you to freely make changes to a project without affecting the original. Forks remain attached to the original, allowing you to submit a pull request to the original's author to update with your changes. Fork
  • 8.  A clone is a copy of a repository that lives on your computer instead of on a website's server somewhere, or the act of making that copy. With your clone you can edit the files in your preferred editor and use Git to keep track of your changes without having to be online. Clone
  • 9.  Git is an open source program for tracking changes in text files. Git
  • 10. Pushing refers to sending your committed changes to a remote repository such as Bitbucket. For instance, if you change something locally, you'd want to then push those changes so that others may access them. Push
  • 11.  Pull refers to when you are fetching in changes and merging them. For instance, if someone has edited the remote file you're both working on, you'll want to pull in those changes to your local copy so that it's up to date. Pull
  • 12.  A commit, or "revision", is an individual change to a file (or set of files). It's like when you save a file, except with Git, every time you save it creates a unique ID (a.k.a. the "SHA" or "hash") that allows you to keep record of what changes were made when and by who. Commits usually contain a commit message which is a brief description of what changes were made. Commit
  • 13.  Fetching refers to getting the latest changes from an online repository (like BitBucket) without merging them in. Once these changes are fetched you can compare them to your local branches (the code residing on your local machine) Fetch
  • 14. 1. Create a repository To create a repo, do the following: 1. Log into Bitbucket Cloud under your individual account. 2. Click Repositories > Create repository or the Create new repository link. 3. Choose a repository Owner. This only appears if you are creating under an account with membership in one or more teams. 4. Enter a Name and Description for your repository. 5. Tick Private if you want to hide your repository from the general public, so that only selected people can see it. 6. Select the Repository type. 7. Click Create repository. How to:
  • 15. 2. Clone a repository 1. Navigate to the repository in Bitbucket. 2. Click the Clone button. 3. Copy the clone command (either the SSH format or the HTTPS). If you are using the SSH protocol, ensure your public key is in Bitbucket and loaded on the local system to which you are cloning. 4. Launch a terminal window. 5. Change to the local directory where you want to clone your repository. 6. Paste the command you copied from Bitbucket, for example: $ git clone ssh://[email protected]:7999/PROJ/repo.git
  • 16. 3. Add code to you newly created repo. 1. $ mkdir /path/to/your/project 2. $ cd /path/to/your/project 3. $ git init 4. $ git commit -m "First commit” 5. $ git remote add origin ssh://[email protected]/username/bbreponame.git 6. $ git push -u origin --all Create a local clone of your fork 1. On Bitbucket, navigate to your fork of your repository. 2. In the right sidebar of your fork's repository page, copy the clone URL for your fork. 3. Open git Terminal 4. Type git clone and then paste the URL you copied in Step 2. It will look like this, with your Bitbucket username: 5. Press Enter. Your local clone will be created 4. $ git clone https://github.com/YOUR-USERNAME/your-repo
  • 17. Benefits of BitBucket……. It’s worth having a backup Git has proven to be effective for projects with hundreds and even thousands of active contributors. Avoid parallel code conflicts and overwriting of each others' work.