SlideShare a Scribd company logo
Bit Bucket
Group Members
Waqiur
Ansari
Anurag
Singh
Vanraj
Pardeshi
Rahul
Chalke
01 03
02 04
Contents
1. Why host Codes online ?
2. Need of Online Collaborative Tool
3. Definition of BitBucket
4. Technical Terms
5. Steps to Create Local clones of fork
6. Benefits of BitBucket
Why Host
Codes Online ?
01
● 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.
Google
Code
Code
Plex
BitBucket
Github
Need of Online
Collaborative Tool
02
● Track your change sets, monitor your source
code edits, and drill through to your source
files.
● It's worth having a backup.
● The quicker you make your code publicly
available, the quicker you can gain feedback
and people to help you.
● Getting feedback of users and interested
developers who might want to join your
team, provide helpful idea and move this
project forward.
Definition of
BitBucket
03
● 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 Term
04
Clone
Pull
Repository Fork Git
Push Fetch
Commit
Repository
● 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.
Fork
● 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.
Clone
● 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.
Git
● Git is an open source
program for tracking
changes in text files.
Push
● 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.
Pull
● 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.
Commit
● 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.
Fetch
● 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 our
local machine)
Steps
05
How to Create Repository
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.
1. Enter a Name and Description for your repository.
2. Tick Private if you want to hide your repository from
the general public, so that only selected people can
see it.
3. Select the Repository type.
4. Click Create repository.
How to Create Repository
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.
1. Enter a Name and Description for your repository.
2. Tick Private if you want to hide your repository from
the general public, so that only selected people can
see it.
3. Select the Repository type.
4. Click Create repository.
How to Clone 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.
1. Launch a terminal window.
2. Change to the local directory where you want to clone
your repository.
1. Paste the command you copied from Bitbucket, for
Example:
$ git clone:ssh://git@bitbucket.example.com:7999/repo.git
How to Create Repository
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.
1. Enter a Name and Description for your repository.
2. Tick Private if you want to hide your repository from
the general public, so that only selected people can
see it.
3. Select the Repository type.
4. Click Create repository.
Add Code to your 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
1. $ git push -u origin —all
How to 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:
$ git clone https://github.com/YOUR-USERNAME/your-repo
1. Press Enter. Your local clone will be created
How to Create Repository
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.
1. Enter a Name and Description for your repository.
2. Tick Private if you want to hide your repository from
the general public, so that only selected people can
see it.
3. Select the Repository type.
4. Click Create repository.
Benefits
06
Benefits of BitBucket
It's worth having a
backup
Avoid parallel code
conflicts and
overwriting of each
others' work.
Git has proven to be
effective for projects with
hundreds and even
thousands of active
contributors.
Bitbucket also offers
unlimited private
repositories to teachers
and students for free –
which is a hard price to
say no to.
THANK YOU !

More Related Content

What's hot

Git with bitbucket
Git with bitbucketGit with bitbucket
Git with bitbucket
Sumin Byeon
 
GitHub Basics - Derek Bable
GitHub Basics - Derek BableGitHub Basics - Derek Bable
GitHub Basics - Derek Bable
"FENG "GEORGE"" YU
 
GitLab for CI/CD process
GitLab for CI/CD processGitLab for CI/CD process
GitLab for CI/CD process
HYS Enterprise
 
DevOps Interview Questions Part - 1 | Devops Interview Questions And Answers ...
DevOps Interview Questions Part - 1 | Devops Interview Questions And Answers ...DevOps Interview Questions Part - 1 | Devops Interview Questions And Answers ...
DevOps Interview Questions Part - 1 | Devops Interview Questions And Answers ...
Simplilearn
 
Git and GitHub | Concept about Git and GitHub Process | Git Process overview
Git and GitHub | Concept about Git and GitHub Process | Git Process overviewGit and GitHub | Concept about Git and GitHub Process | Git Process overview
Git and GitHub | Concept about Git and GitHub Process | Git Process overview
Rueful Robin
 
Advanced Git Tutorial
Advanced Git TutorialAdvanced Git Tutorial
Advanced Git Tutorial
Sage Sharp
 
Workshop on Git and GitHub
Workshop on Git and GitHubWorkshop on Git and GitHub
Workshop on Git and GitHub
DSCVSSUT
 
Using GitLab CI
Using GitLab CIUsing GitLab CI
Using GitLab CI
ColCh
 
Git basics
Git basicsGit basics
Git basics
GHARSALLAH Mohamed
 
Basic Git Intro
Basic Git IntroBasic Git Intro
Basic Git Intro
Yoad Snapir
 
Introduction to Git and GitHub Part 1
Introduction to Git and GitHub Part 1Introduction to Git and GitHub Part 1
Introduction to Git and GitHub Part 1
Omar Fathy
 
Bitbucket
BitbucketBitbucket
Bitbucket
Okba Mahdjoub
 
Git & GitLab
Git & GitLabGit & GitLab
Git & GitLab
Gaurav Wable
 
Git training v10
Git training v10Git training v10
Git training v10
Skander Hamza
 
Git and github
Git and githubGit and github
Git and github
Sayantika Banik
 
BitBucket presentation
BitBucket presentationBitBucket presentation
BitBucket presentation
Jonathan Lawerh
 
git and github
git and githubgit and github
git and github
Darren Oakley
 
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
 
Github
GithubGithub
Github
MeetPatel710
 
CI/CD with GitHub Actions
CI/CD with GitHub ActionsCI/CD with GitHub Actions
CI/CD with GitHub Actions
Swaminathan Vetri
 

What's hot (20)

Git with bitbucket
Git with bitbucketGit with bitbucket
Git with bitbucket
 
GitHub Basics - Derek Bable
GitHub Basics - Derek BableGitHub Basics - Derek Bable
GitHub Basics - Derek Bable
 
GitLab for CI/CD process
GitLab for CI/CD processGitLab for CI/CD process
GitLab for CI/CD process
 
DevOps Interview Questions Part - 1 | Devops Interview Questions And Answers ...
DevOps Interview Questions Part - 1 | Devops Interview Questions And Answers ...DevOps Interview Questions Part - 1 | Devops Interview Questions And Answers ...
DevOps Interview Questions Part - 1 | Devops Interview Questions And Answers ...
 
Git and GitHub | Concept about Git and GitHub Process | Git Process overview
Git and GitHub | Concept about Git and GitHub Process | Git Process overviewGit and GitHub | Concept about Git and GitHub Process | Git Process overview
Git and GitHub | Concept about Git and GitHub Process | Git Process overview
 
Advanced Git Tutorial
Advanced Git TutorialAdvanced Git Tutorial
Advanced Git Tutorial
 
Workshop on Git and GitHub
Workshop on Git and GitHubWorkshop on Git and GitHub
Workshop on Git and GitHub
 
Using GitLab CI
Using GitLab CIUsing GitLab CI
Using GitLab CI
 
Git basics
Git basicsGit basics
Git basics
 
Basic Git Intro
Basic Git IntroBasic Git Intro
Basic Git Intro
 
Introduction to Git and GitHub Part 1
Introduction to Git and GitHub Part 1Introduction to Git and GitHub Part 1
Introduction to Git and GitHub Part 1
 
Bitbucket
BitbucketBitbucket
Bitbucket
 
Git & GitLab
Git & GitLabGit & GitLab
Git & GitLab
 
Git training v10
Git training v10Git training v10
Git training v10
 
Git and github
Git and githubGit and github
Git and github
 
BitBucket presentation
BitBucket presentationBitBucket presentation
BitBucket presentation
 
git and github
git and githubgit and github
git and github
 
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
 
Github
GithubGithub
Github
 
CI/CD with GitHub Actions
CI/CD with GitHub ActionsCI/CD with GitHub Actions
CI/CD with GitHub Actions
 

Similar to Bitbucket Devops PPT.pptx

Git and git hub basics
Git and git hub basicsGit and git hub basics
Git and git hub basics
prostackacademy
 
Hacktoberfest 2020 - Open source for beginners
Hacktoberfest 2020 - Open source for beginnersHacktoberfest 2020 - Open source for beginners
Hacktoberfest 2020 - Open source for beginners
DeepikaRana30
 
Bitcoin Development 2019 Starter Guide - No Skill | ProvenCrypto
Bitcoin Development 2019 Starter Guide - No Skill | ProvenCryptoBitcoin Development 2019 Starter Guide - No Skill | ProvenCrypto
Bitcoin Development 2019 Starter Guide - No Skill | ProvenCrypto
Opti Network
 
Nina Zakharenko - Introduction to Git - Start SLC 2015
Nina Zakharenko - Introduction to Git - Start SLC 2015Nina Zakharenko - Introduction to Git - Start SLC 2015
Nina Zakharenko - Introduction to Git - Start SLC 2015
Nina Zakharenko
 
Introduction to git
Introduction to gitIntroduction to git
Introduction to git
Sameera Wijesekara
 
3DC Intro to Git Workshop
3DC Intro to Git Workshop3DC Intro to Git Workshop
3DC Intro to Git Workshop
BeckhamWee
 
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
 
02-version control(DevOps Series)
02-version control(DevOps Series)02-version control(DevOps Series)
02-version control(DevOps Series)
Mohammed Shaban
 
Github security bug bounty hunting
Github security   bug bounty huntingGithub security   bug bounty hunting
Github security bug bounty hunting
vinoth kumar
 
Extra bit with git
Extra bit with gitExtra bit with git
Extra bit with git
gdgjss
 
Create a PHP Library the right way
Create a PHP Library the right wayCreate a PHP Library the right way
Create a PHP Library the right way
Christian Varela
 
Git hub party-20151008
Git hub party-20151008Git hub party-20151008
Git hub party-20151008
Blanca Mancilla
 
Git/GitHub
Git/GitHubGit/GitHub
Git/GitHub
Cindy Royal
 
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
 
Beginner Workshop for Student Developers - Tratech-presentation.pdf
Beginner Workshop for Student Developers - Tratech-presentation.pdfBeginner Workshop for Student Developers - Tratech-presentation.pdf
Beginner Workshop for Student Developers - Tratech-presentation.pdf
GDSCKNUST
 
Github 101 An Adventurer's Guide To Open Source
Github 101   An Adventurer's Guide To Open SourceGithub 101   An Adventurer's Guide To Open Source
Github 101 An Adventurer's Guide To Open Source
Prachitibhukan
 
Difference between Github vs Gitlab vs Bitbucket
Difference between Github vs Gitlab vs BitbucketDifference between Github vs Gitlab vs Bitbucket
Difference between Github vs Gitlab vs Bitbucket
jeetendra mandal
 
Version control
Version controlVersion control
Version control
Ghufran Ataie
 
Getting started With GIT
Getting started With GITGetting started With GIT
Getting started With GIT
GhadiAlGhosh
 
Git Series - Part 1
Git Series - Part 1 Git Series - Part 1
Git Series - Part 1
Mohamed Abdeen
 

Similar to Bitbucket Devops PPT.pptx (20)

Git and git hub basics
Git and git hub basicsGit and git hub basics
Git and git hub basics
 
Hacktoberfest 2020 - Open source for beginners
Hacktoberfest 2020 - Open source for beginnersHacktoberfest 2020 - Open source for beginners
Hacktoberfest 2020 - Open source for beginners
 
Bitcoin Development 2019 Starter Guide - No Skill | ProvenCrypto
Bitcoin Development 2019 Starter Guide - No Skill | ProvenCryptoBitcoin Development 2019 Starter Guide - No Skill | ProvenCrypto
Bitcoin Development 2019 Starter Guide - No Skill | ProvenCrypto
 
Nina Zakharenko - Introduction to Git - Start SLC 2015
Nina Zakharenko - Introduction to Git - Start SLC 2015Nina Zakharenko - Introduction to Git - Start SLC 2015
Nina Zakharenko - Introduction to Git - Start SLC 2015
 
Introduction to git
Introduction to gitIntroduction to git
Introduction to git
 
3DC Intro to Git Workshop
3DC Intro to Git Workshop3DC Intro to Git Workshop
3DC Intro to Git Workshop
 
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
 
02-version control(DevOps Series)
02-version control(DevOps Series)02-version control(DevOps Series)
02-version control(DevOps Series)
 
Github security bug bounty hunting
Github security   bug bounty huntingGithub security   bug bounty hunting
Github security bug bounty hunting
 
Extra bit with git
Extra bit with gitExtra bit with git
Extra bit with git
 
Create a PHP Library the right way
Create a PHP Library the right wayCreate a PHP Library the right way
Create a PHP Library the right way
 
Git hub party-20151008
Git hub party-20151008Git hub party-20151008
Git hub party-20151008
 
Git/GitHub
Git/GitHubGit/GitHub
Git/GitHub
 
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
 
Beginner Workshop for Student Developers - Tratech-presentation.pdf
Beginner Workshop for Student Developers - Tratech-presentation.pdfBeginner Workshop for Student Developers - Tratech-presentation.pdf
Beginner Workshop for Student Developers - Tratech-presentation.pdf
 
Github 101 An Adventurer's Guide To Open Source
Github 101   An Adventurer's Guide To Open SourceGithub 101   An Adventurer's Guide To Open Source
Github 101 An Adventurer's Guide To Open Source
 
Difference between Github vs Gitlab vs Bitbucket
Difference between Github vs Gitlab vs BitbucketDifference between Github vs Gitlab vs Bitbucket
Difference between Github vs Gitlab vs Bitbucket
 
Version control
Version controlVersion control
Version control
 
Getting started With GIT
Getting started With GITGetting started With GIT
Getting started With GIT
 
Git Series - Part 1
Git Series - Part 1 Git Series - Part 1
Git Series - Part 1
 

Recently uploaded

Rainfall intensity duration frequency curve statistical analysis and modeling...
Rainfall intensity duration frequency curve statistical analysis and modeling...Rainfall intensity duration frequency curve statistical analysis and modeling...
Rainfall intensity duration frequency curve statistical analysis and modeling...
bijceesjournal
 
Certificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi AhmedCertificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi Ahmed
Mahmoud Morsy
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
IJECEIAES
 
ITSM Integration with MuleSoft.pptx
ITSM  Integration with MuleSoft.pptxITSM  Integration with MuleSoft.pptx
ITSM Integration with MuleSoft.pptx
VANDANAMOHANGOUDA
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
MDSABBIROJJAMANPAYEL
 
Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...
bijceesjournal
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
Madan Karki
 
Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...
Prakhyath Rai
 
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.pptUnit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
KrishnaveniKrishnara1
 
AI assisted telemedicine KIOSK for Rural India.pptx
AI assisted telemedicine KIOSK for Rural India.pptxAI assisted telemedicine KIOSK for Rural India.pptx
AI assisted telemedicine KIOSK for Rural India.pptx
architagupta876
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
IJECEIAES
 
Design and optimization of ion propulsion drone
Design and optimization of ion propulsion droneDesign and optimization of ion propulsion drone
Design and optimization of ion propulsion drone
bjmsejournal
 
CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1
PKavitha10
 
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
Yasser Mahgoub
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
kandramariana6
 
Software Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.pptSoftware Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.ppt
TaghreedAltamimi
 
Mechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdfMechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdf
21UME003TUSHARDEB
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
KrishnaveniKrishnara1
 
Data Control Language.pptx Data Control Language.pptx
Data Control Language.pptx Data Control Language.pptxData Control Language.pptx Data Control Language.pptx
Data Control Language.pptx Data Control Language.pptx
ramrag33
 
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
171ticu
 

Recently uploaded (20)

Rainfall intensity duration frequency curve statistical analysis and modeling...
Rainfall intensity duration frequency curve statistical analysis and modeling...Rainfall intensity duration frequency curve statistical analysis and modeling...
Rainfall intensity duration frequency curve statistical analysis and modeling...
 
Certificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi AhmedCertificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi Ahmed
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
 
ITSM Integration with MuleSoft.pptx
ITSM  Integration with MuleSoft.pptxITSM  Integration with MuleSoft.pptx
ITSM Integration with MuleSoft.pptx
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
 
Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
 
Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...
 
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.pptUnit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
 
AI assisted telemedicine KIOSK for Rural India.pptx
AI assisted telemedicine KIOSK for Rural India.pptxAI assisted telemedicine KIOSK for Rural India.pptx
AI assisted telemedicine KIOSK for Rural India.pptx
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
 
Design and optimization of ion propulsion drone
Design and optimization of ion propulsion droneDesign and optimization of ion propulsion drone
Design and optimization of ion propulsion drone
 
CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1
 
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
 
Software Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.pptSoftware Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.ppt
 
Mechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdfMechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdf
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
 
Data Control Language.pptx Data Control Language.pptx
Data Control Language.pptx Data Control Language.pptxData Control Language.pptx Data Control Language.pptx
Data Control Language.pptx Data Control Language.pptx
 
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
 

Bitbucket Devops PPT.pptx

  • 3. Contents 1. Why host Codes online ? 2. Need of Online Collaborative Tool 3. Definition of BitBucket 4. Technical Terms 5. Steps to Create Local clones of fork 6. Benefits of BitBucket
  • 5. ● 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. Google Code Code Plex BitBucket Github
  • 7. ● Track your change sets, monitor your source code edits, and drill through to your source files. ● It's worth having a backup. ● The quicker you make your code publicly available, the quicker you can gain feedback and people to help you. ● Getting feedback of users and interested developers who might want to join your team, provide helpful idea and move this project forward.
  • 9. ● 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.
  • 12. Repository ● 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.
  • 13. Fork ● 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.
  • 14. Clone ● 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.
  • 15. Git ● Git is an open source program for tracking changes in text files.
  • 16. Push ● 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.
  • 17. Pull ● 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.
  • 18. Commit ● 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.
  • 19. Fetch ● 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 our local machine)
  • 21. How to Create Repository 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. 1. Enter a Name and Description for your repository. 2. Tick Private if you want to hide your repository from the general public, so that only selected people can see it. 3. Select the Repository type. 4. Click Create repository.
  • 22. How to Create Repository 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. 1. Enter a Name and Description for your repository. 2. Tick Private if you want to hide your repository from the general public, so that only selected people can see it. 3. Select the Repository type. 4. Click Create repository.
  • 23. How to Clone 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. 1. Launch a terminal window. 2. Change to the local directory where you want to clone your repository. 1. Paste the command you copied from Bitbucket, for Example: $ git clone:ssh://git@bitbucket.example.com:7999/repo.git
  • 24. How to Create Repository 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. 1. Enter a Name and Description for your repository. 2. Tick Private if you want to hide your repository from the general public, so that only selected people can see it. 3. Select the Repository type. 4. Click Create repository.
  • 25. Add Code to your 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 1. $ git push -u origin —all
  • 26. How to 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: $ git clone https://github.com/YOUR-USERNAME/your-repo 1. Press Enter. Your local clone will be created
  • 27. How to Create Repository 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. 1. Enter a Name and Description for your repository. 2. Tick Private if you want to hide your repository from the general public, so that only selected people can see it. 3. Select the Repository type. 4. Click Create repository.
  • 29. Benefits of BitBucket It's worth having a backup Avoid parallel code conflicts and overwriting of each others' work. Git has proven to be effective for projects with hundreds and even thousands of active contributors. Bitbucket also offers unlimited private repositories to teachers and students for free – which is a hard price to say no to.