SlideShare une entreprise Scribd logo
1  sur  30
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 !

Contenu connexe

Tendances

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 1Omar Fathy
 
Github - Git Training Slides: Foundations
Github - Git Training Slides: FoundationsGithub - Git Training Slides: Foundations
Github - Git Training Slides: FoundationsLee Hanxue
 
Git - Basic Crash Course
Git - Basic Crash CourseGit - Basic Crash Course
Git - Basic Crash CourseNilay Binjola
 
Introduction to git hub
Introduction to git hubIntroduction to git hub
Introduction to git hubNaveen Pandey
 
Introduction to GitHub
Introduction to GitHubIntroduction to GitHub
Introduction to GitHubNishan Bose
 
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 ArticlePRIYATHAMDARISI
 
Git hub ppt presentation
Git hub ppt presentationGit hub ppt presentation
Git hub ppt presentationAyanaRukasar
 
Introduction to Git and GitHub
Introduction to Git and GitHubIntroduction to Git and GitHub
Introduction to Git and GitHubVikram SV
 
Intro to git and git hub
Intro to git and git hubIntro to git and git hub
Intro to git and git hubVenkat Malladi
 
Git Branching for Agile Teams
Git Branching for Agile Teams Git Branching for Agile Teams
Git Branching for Agile Teams Atlassian
 
Introduction to Git
Introduction to GitIntroduction to Git
Introduction to GitLukas Fittl
 

Tendances (20)

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
 
Github
GithubGithub
Github
 
GitHub Basics - Derek Bable
GitHub Basics - Derek BableGitHub Basics - Derek Bable
GitHub Basics - Derek Bable
 
Git and github 101
Git and github 101Git and github 101
Git and github 101
 
Github
GithubGithub
Github
 
Github - Git Training Slides: Foundations
Github - Git Training Slides: FoundationsGithub - Git Training Slides: Foundations
Github - Git Training Slides: Foundations
 
Git - Basic Crash Course
Git - Basic Crash CourseGit - Basic Crash Course
Git - Basic Crash Course
 
Git for beginners
Git for beginnersGit for beginners
Git for beginners
 
Introduction to git hub
Introduction to git hubIntroduction to git hub
Introduction to git hub
 
Introduction to GitHub
Introduction to GitHubIntroduction to GitHub
Introduction to GitHub
 
Bitbucket and Git
Bitbucket and GitBitbucket and Git
Bitbucket and Git
 
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
 
Git hub ppt presentation
Git hub ppt presentationGit hub ppt presentation
Git hub ppt presentation
 
Introduction to Git and GitHub
Introduction to Git and GitHubIntroduction to Git and GitHub
Introduction to Git and GitHub
 
Intro to git and git hub
Intro to git and git hubIntro to git and git hub
Intro to git and git hub
 
Git Branching for Agile Teams
Git Branching for Agile Teams Git Branching for Agile Teams
Git Branching for Agile Teams
 
Git and GitHub
Git and GitHubGit and GitHub
Git and GitHub
 
Git basics
Git basicsGit basics
Git basics
 
Introduction to Git
Introduction to GitIntroduction to Git
Introduction to Git
 
Git and Github
Git and GithubGit and Github
Git and Github
 

Similaire à Bitbucket Devops PPT.pptx

Hacktoberfest 2020 - Open source for beginners
Hacktoberfest 2020 - Open source for beginnersHacktoberfest 2020 - Open source for beginners
Hacktoberfest 2020 - Open source for beginnersDeepikaRana30
 
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 | ProvenCryptoOpti 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 2015Nina Zakharenko
 
3DC Intro to Git Workshop
3DC Intro to Git Workshop3DC Intro to Git Workshop
3DC Intro to Git WorkshopBeckhamWee
 
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.pdfuzair
 
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 huntingvinoth kumar
 
Extra bit with git
Extra bit with gitExtra bit with git
Extra bit with gitgdgjss
 
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 wayChristian Varela
 
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.pdfGDSCKNUST
 
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 SourcePrachitibhukan
 
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 Bitbucketjeetendra mandal
 
Getting started With GIT
Getting started With GITGetting started With GIT
Getting started With GITGhadiAlGhosh
 
Bitbucket git-bamboo-jira
Bitbucket git-bamboo-jiraBitbucket git-bamboo-jira
Bitbucket git-bamboo-jiralenamattt
 

Similaire à 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
 
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
 
Bitbucket git-bamboo-jira
Bitbucket git-bamboo-jiraBitbucket git-bamboo-jira
Bitbucket git-bamboo-jira
 

Dernier

Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdfKamal Acharya
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesMayuraD1
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startQuintin Balsdon
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityMorshed Ahmed Rahath
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapRishantSharmaFr
 
Moment Distribution Method For Btech Civil
Moment Distribution Method For Btech CivilMoment Distribution Method For Btech Civil
Moment Distribution Method For Btech CivilVinayVitekari
 
kiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadkiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadhamedmustafa094
 
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...drmkjayanthikannan
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwaitjaanualu31
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Arindam Chakraborty, Ph.D., P.E. (CA, TX)
 
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Servicemeghakumariji156
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . pptDineshKumar4165
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdfAldoGarca30
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdfKamal Acharya
 
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLEGEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLEselvakumar948
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"mphochane1998
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VDineshKumar4165
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTbhaskargani46
 
Computer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersComputer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersMairaAshraf6
 

Dernier (20)

Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdf
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
Moment Distribution Method For Btech Civil
Moment Distribution Method For Btech CivilMoment Distribution Method For Btech Civil
Moment Distribution Method For Btech Civil
 
kiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadkiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal load
 
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLEGEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
Computer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersComputer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to Computers
 

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.