1 COPYRIGHT 2017
GITWITH BITBUCKET
SUHAS SHIVARAM
• Git is the most widely used modern version control system in the world today.
• Git is built on distributed architecture.
• Git is a DVCS (Distributed Version Control System).
 Rather than having only one single place for the full version history as in SVN.
 In Git, every developer's working copy of the code is also a repository that can contain the full history of all changes.
COPYRIGHT 20172
What Is Git?
• Feature Branch Workflow
 Feature branches provide an isolated environment for every change to your codebase.
 This ensures that the master branch always contains production-quality code.
 Represents development work at the same granularity as the your agile backlog.
COPYRIGHT 20173
Why Git?
Feature
Master
• Distributed Development
 Each developer gets their own local repository, complete with a full history of commits.
 Having a full local history makes Git fast, since it doesn’t need a network connection to
or perform diffs between commits.
 Distributed development also makes it easier to scale your engineering team.
COPYRIGHT 20174
Why Git?
DistributedCentralized
Full Repo
Local RepoLocal Repo
Centralized
Repo
Working
Copy
Working
Copy
• Pull Requests
 A pull request is a way to ask another developer to merge one of your branches into their
 Helps project leads to keep track of changes.
 Lets developers initiate discussions around their work before integrating it with the rest of
COPYRIGHT 20175
Why Git?
Feature
Master
Some of the key differences between Git and SVN
• GIT is distributed, SVN is Centralized
• GIT stores content as metadata, SVN stores just files
• GIT branches are not the same as SVN branches
• GIT’s content integrity is better than SVN’s
COPYRIGHT 20176
Git vs SVN
• Bitbucket is a cloud based hosting service for projects that use Git.
• Bitbucket is an Atlassian product. Jira credentials can be used to access Bitbucket.
• Features of Bitbucket
 Pull requests facilitate code reviews
 Branch permissions provide granular access control for your team
 Collaborate right in your code with inline comments, threaded conversations and mentions.
 Integration with Jira for branching out feature.
COPYRIGHT 20177
What is Bitbucket?
SourceTree is a free Git client for Windows or Mac.
Advantages of SourceTree:
• Branch management
• Working copy
• Branch history
• GitFlow
• It’s free
COPYRIGHT 20178
SourceTree
COPYRIGHT 20179
Demo
• https://www.atlassian.com/git/tutorials
• http://sagittarius.agency/blog/5-reasons-to-use-sourcetree-for-git
• http://boxysystems.com/index.php/5-fundamental-differences-between-git-svn/
COPYRIGHT 201710
References
COPYRIGHT 201711
Q & A
12
THANKYOU!
COPYRIGHT 2017

Git with bitbucket

  • 1.
    1 COPYRIGHT 2017 GITWITHBITBUCKET SUHAS SHIVARAM
  • 2.
    • Git isthe most widely used modern version control system in the world today. • Git is built on distributed architecture. • Git is a DVCS (Distributed Version Control System).  Rather than having only one single place for the full version history as in SVN.  In Git, every developer's working copy of the code is also a repository that can contain the full history of all changes. COPYRIGHT 20172 What Is Git?
  • 3.
    • Feature BranchWorkflow  Feature branches provide an isolated environment for every change to your codebase.  This ensures that the master branch always contains production-quality code.  Represents development work at the same granularity as the your agile backlog. COPYRIGHT 20173 Why Git? Feature Master
  • 4.
    • Distributed Development Each developer gets their own local repository, complete with a full history of commits.  Having a full local history makes Git fast, since it doesn’t need a network connection to or perform diffs between commits.  Distributed development also makes it easier to scale your engineering team. COPYRIGHT 20174 Why Git? DistributedCentralized Full Repo Local RepoLocal Repo Centralized Repo Working Copy Working Copy
  • 5.
    • Pull Requests A pull request is a way to ask another developer to merge one of your branches into their  Helps project leads to keep track of changes.  Lets developers initiate discussions around their work before integrating it with the rest of COPYRIGHT 20175 Why Git? Feature Master
  • 6.
    Some of thekey differences between Git and SVN • GIT is distributed, SVN is Centralized • GIT stores content as metadata, SVN stores just files • GIT branches are not the same as SVN branches • GIT’s content integrity is better than SVN’s COPYRIGHT 20176 Git vs SVN
  • 7.
    • Bitbucket isa cloud based hosting service for projects that use Git. • Bitbucket is an Atlassian product. Jira credentials can be used to access Bitbucket. • Features of Bitbucket  Pull requests facilitate code reviews  Branch permissions provide granular access control for your team  Collaborate right in your code with inline comments, threaded conversations and mentions.  Integration with Jira for branching out feature. COPYRIGHT 20177 What is Bitbucket?
  • 8.
    SourceTree is afree Git client for Windows or Mac. Advantages of SourceTree: • Branch management • Working copy • Branch history • GitFlow • It’s free COPYRIGHT 20178 SourceTree
  • 9.
  • 10.
    • https://www.atlassian.com/git/tutorials • http://sagittarius.agency/blog/5-reasons-to-use-sourcetree-for-git •http://boxysystems.com/index.php/5-fundamental-differences-between-git-svn/ COPYRIGHT 201710 References
  • 11.
  • 12.