SlideShare uma empresa Scribd logo
1 de 45
Baixar para ler offline
Chris Aniszczyk     Stefan Lay        Kevin Sawicki
   (Twitter)          (SAP)             (GitHub)
                                                      The Git Tutorial
                                                                   EclipseCon 2012

Matthias Sohn     Benjamin Muskalla
    (SAP)             (Tasktop)

                                                                   http://eclipse.org/jgit
                                                                  http://eclipse.org/egit
                                                        http://code.google.com/p/gerrit
Agenda

Introduction

Exercises
Setup & Cloning the Sample Repository
Local Development with EGit
Gerrit Code Review
Mylyn Integration
GitHub Eclipse Support

Q&A


       Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
Git
 … a distributed revision control system built by the
 Linux project to facilitate code review
 Distributed means no central repository
● No central authority!
● Easy offline usage
● Easy to branch a project
● Protected against manipulation by cryptographic hashes



 Really good at merging
● Coordination only needed "after the fact”
● Easier to rejoin (or refresh) branches



 Structured around commits (i.e. patches)
● Tools for identifying problem commits (git bisect)
● Tools for restructuring branches w/ specific commits




              Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
Git at Eclipse
 JGit is a lightweight Java library implementing Git
    http://www.eclipse.org/jgit/
 EGit is an Eclipse Team provider for Git based on JGit
    http://www.eclipse.org/egit/
 Gerrit Code Review is a Git server based on JGit
 adding permission control and review workflow
    http://code.google.com/p/gerrit

 Gerrit @ Eclipse went live
    https://git.eclipse.org/r/




             Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
Eclipse is Moving to Git
CVS has been deprecated and will be retired end of 2012




Project & code repository breakdown as of 2012-03-25
http://eclipse.org/projects/scmcountdown.php

                 Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn, S. Zivkov
Gerrit Code Review @ Eclipse
https://git.eclipse.org/r/ is now available for all projects                                      now used by:

                                                                                                  EGit, Jetty, JGit,
                                                                                                  Jubula, Libra, Lyo,
                                                                                                  Mylyn, Platform, R4E,
                                                                                                  Recommenders,
                                                                                                  Skalli, Tycho




                  Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn, S. Zivkov
Modern Code Review – What is it ?                                                                           Guido van Rossum [1]




 When one developer writes code, another
 developer is asked to review that code
 A careful line-by-line critique
 Happens in a non-threatening context
 Goal is cooperation, not fault-finding
 Integral part of coding process
 Otherwise this will happen:
 Debugging someone else's broken code
 – Involuntary code review: Not so good; emotions may flare


                                                      [1] http://code.google.com/p/rietveld/downloads/detail?name=Mondrian2006.pdf

           Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
Code Review – Benefits                                            Guido van Rossum [1]




 Four eyes catch more bugs
   Catch bugs early to save hours of debugging

 Mentoring of new developers / contributors
   Learn from mistakes without breaking stuff

 Establish trust relationships
   Prepare for more delegation

 Good alternative to pair programming
   asynchronous and across locations

 Coding standards
   Keep overall readability & code quality high



                                                 [1] http://code.google.com/p/rietveld/downloads/detail?name=Mondrian2006.pdf


          Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
Gerrit



                                           git         git
                                                 git           git

                                                                                      - verify proposed
                                                                                      changes
- clone repository                                                                    - continuous
- fetch / push changes                                                                integration builds

                       Developer PC
                    Developer PC
                                                                                            Hudson



           git
                 git




                 Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
Gerrit



                                                                                             git         git
                                                                                                   git         git
                                       master
                                              change 12
                                                                 submit accepted
                            change 10
                                                                 change 12
                                                         change 23




fetch master                                                                   fetch change 23
to get                         push improved
                               change 10                                       to try it
updates
                      Developer PC                                                           Developer PC




               git                                                                    git
                     git                                                                    git

                 Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
Local Development
with EGit



  Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
Gerrit



                      git          git
                            git            git




clone repository


            Developer PC
         Developer PC




  git
        git




                 Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
Sample Application




         Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
Git Exercises

1 Setup & Clone the example repository
2 Develop a feature
3 Develop 2nd feature and use staging view
4 Work on branches in parallel
5 Fetch the latest state
6 Merging, Rebasing, Resolving Conflicts


              Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
Git Exercises

7 History view
8 Reset branch to previous state
9 Change a series of commits
10 Git blame
11 Stash
12 Submodules



               Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
Gerrit Code Review




 Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
Gerrit
Server managing central Git repositories
                                      Gerrit




             Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
Gerrit
         Access Control

                                  Gerrit




         Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
Gerrit
                Access Control

                                         Gerrit


     git push




                Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
Gerrit
         Access Control

                                  Gerrit




         Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
Gerrit
         Access Control

                                  Gerrit




         Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
Gerrit
          Code Review

                                  Gerrit




         Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
Gerrit
                    Code Review

                                         Gerrit
         git push




                Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
Gerrit
                     Code Review

                                             Gerrit
         git push




                    Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
Gerrit
                     Code Review

                                             Gerrit
         git push <for_review>




                    Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
Gerrit
           Commenting




         Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
Gerrit
         Discussing & Improving




             Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
Gerrit
                     Voting




         Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
Gerrit
Do not miss:

Talk by Shawn Pearce (Gerrit founder and Project Lead)



   Harnessing Peer Code Reviews

   Wednesday, 14:15, Ballroom A




                  Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
http://git.eclipse.org/r/

                                                   Gerrit



                                           git         git
                                                 git           git
                                                                                      - verify proposed
                                                                                      changes
                                                                                      - continuous
- clone repository                                                                    integration builds
- fetch / push changes
                       Developer PC
                    Developer PC

                                                                                             Hudson


           git
                 git




                 Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
Gerrit Exercises

1 Configure push to Gerrit
2 Push change to Gerrit
3 Review change
4 Improve a change
5 Submit a change to the codebase
6 View Gerrit review notes
7 Starting Demo Gerrit Server (backup)

             Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
Mylyn Integration




   Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
90% Irrelevant




Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
Task-focused IDE




Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
< Demo >



Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
Exercises: Mylyn Integration
1 Mylyn / EGit Integration




        Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
Exercises: Mylyn Integration
2 Use Gerrit from within the IDE




       Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
Exercises: Mylyn Integration

1 Mylyn / EGit Integration

2 Use Gerrit from within the IDE




Related talk
Wednesday, 1:30PM - 2:15PM
Build, Stage, Review, Merge: Task-focused Development the Eclipse
Mylyn Way


           Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
GitHub Eclipse Support




   Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
GitHub Eclipse Support
●   https://github.com/eclipse
       ○ 248 mirrored repositories

●   Browsing source code
●   Comparing branches and tags
●   Activity feeds
●   Charts & graphs
●   Downloading snapshots




           Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
GitHub Eclipse Support
GitHub EGit Integration
   GitHub Mylyn Connector
      Issues
      Gists
      Pull Requests
      Import Wizard
   GitHub Java API
      Maven plugins
      Reporting
      Automating tasks




         Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
GitHub Exercises: EGit Integration

1 Setup Share on GitHub




       Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
Q&A



 Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
Give Feedback on the Sessions

1   Sign In: www.eclipsecon.org




2   Select Session Evaluate




3   Vote

Mais conteúdo relacionado

Semelhante a The Git Tutorial - EclipseCon 2012

Eclipse Hackers Guide to the Git Universe - Eclipse democamp Vienna 2011-12-02
Eclipse Hackers Guide to the Git Universe - Eclipse democamp Vienna 2011-12-02Eclipse Hackers Guide to the Git Universe - Eclipse democamp Vienna 2011-12-02
Eclipse Hackers Guide to the Git Universe - Eclipse democamp Vienna 2011-12-02msohn
 
Helios in Action: Git at Eclipse
Helios in Action: Git at EclipseHelios in Action: Git at Eclipse
Helios in Action: Git at EclipseChris Aniszczyk
 
Code Review with Git and Gerrit - Devoxx 2011 - Tools in Action - 2011-11-14
Code Review with Git and Gerrit - Devoxx 2011 - Tools in Action - 2011-11-14Code Review with Git and Gerrit - Devoxx 2011 - Tools in Action - 2011-11-14
Code Review with Git and Gerrit - Devoxx 2011 - Tools in Action - 2011-11-14msohn
 
Git cheat-sheets
Git cheat-sheetsGit cheat-sheets
Git cheat-sheetsozone777
 
Git and Eclipse - Eclipse Helios DemoCamp Jena 2010
Git and Eclipse - Eclipse Helios DemoCamp Jena 2010Git and Eclipse - Eclipse Helios DemoCamp Jena 2010
Git and Eclipse - Eclipse Helios DemoCamp Jena 2010msohn
 
Kubernetes GitOps featuring GitHub, Kustomize and ArgoCD
Kubernetes GitOps featuring GitHub, Kustomize and ArgoCDKubernetes GitOps featuring GitHub, Kustomize and ArgoCD
Kubernetes GitOps featuring GitHub, Kustomize and ArgoCDSunnyvale
 
Introduction to git and Github
Introduction to git and GithubIntroduction to git and Github
Introduction to git and GithubWycliff1
 
Brush up on using github
Brush up on using githubBrush up on using github
Brush up on using githubSebin Benjamin
 
ESE 2010: Using Git in Eclipse
ESE 2010: Using Git in EclipseESE 2010: Using Git in Eclipse
ESE 2010: Using Git in EclipseChris Aniszczyk
 
Development with Git and Gerrit - Eclipse DemoCamp Stuttgart - 2010-11-23
Development with Git and Gerrit - Eclipse DemoCamp Stuttgart - 2010-11-23Development with Git and Gerrit - Eclipse DemoCamp Stuttgart - 2010-11-23
Development with Git and Gerrit - Eclipse DemoCamp Stuttgart - 2010-11-23msohn
 
EGit and Gerrit Code Review - Eclipse DemoCamp Bonn - 2010-11-16
EGit and Gerrit Code Review - Eclipse DemoCamp Bonn - 2010-11-16EGit and Gerrit Code Review - Eclipse DemoCamp Bonn - 2010-11-16
EGit and Gerrit Code Review - Eclipse DemoCamp Bonn - 2010-11-16msohn
 
Using Git in Eclipse - Eclipse Summit Europe 2010-11-03
Using Git in Eclipse - Eclipse Summit Europe 2010-11-03Using Git in Eclipse - Eclipse Summit Europe 2010-11-03
Using Git in Eclipse - Eclipse Summit Europe 2010-11-03msohn
 
Egit democamp-karlsruhe-2011-11-29
Egit democamp-karlsruhe-2011-11-29Egit democamp-karlsruhe-2011-11-29
Egit democamp-karlsruhe-2011-11-29Stefan Lay
 

Semelhante a The Git Tutorial - EclipseCon 2012 (20)

Eclipse Hackers Guide to the Git Universe - Eclipse democamp Vienna 2011-12-02
Eclipse Hackers Guide to the Git Universe - Eclipse democamp Vienna 2011-12-02Eclipse Hackers Guide to the Git Universe - Eclipse democamp Vienna 2011-12-02
Eclipse Hackers Guide to the Git Universe - Eclipse democamp Vienna 2011-12-02
 
Helios in Action: Git at Eclipse
Helios in Action: Git at EclipseHelios in Action: Git at Eclipse
Helios in Action: Git at Eclipse
 
Code Review with Git and Gerrit - Devoxx 2011 - Tools in Action - 2011-11-14
Code Review with Git and Gerrit - Devoxx 2011 - Tools in Action - 2011-11-14Code Review with Git and Gerrit - Devoxx 2011 - Tools in Action - 2011-11-14
Code Review with Git and Gerrit - Devoxx 2011 - Tools in Action - 2011-11-14
 
Git cheat-sheets
Git cheat-sheetsGit cheat-sheets
Git cheat-sheets
 
Introduction to Git and Github
Introduction to Git and GithubIntroduction to Git and Github
Introduction to Git and Github
 
Git and Eclipse - Eclipse Helios DemoCamp Jena 2010
Git and Eclipse - Eclipse Helios DemoCamp Jena 2010Git and Eclipse - Eclipse Helios DemoCamp Jena 2010
Git and Eclipse - Eclipse Helios DemoCamp Jena 2010
 
Kubernetes GitOps featuring GitHub, Kustomize and ArgoCD
Kubernetes GitOps featuring GitHub, Kustomize and ArgoCDKubernetes GitOps featuring GitHub, Kustomize and ArgoCD
Kubernetes GitOps featuring GitHub, Kustomize and ArgoCD
 
Introduction to git and Github
Introduction to git and GithubIntroduction to git and Github
Introduction to git and Github
 
Working with Git
Working with GitWorking with Git
Working with Git
 
Brush up on using github
Brush up on using githubBrush up on using github
Brush up on using github
 
Git training (basic)
Git training (basic)Git training (basic)
Git training (basic)
 
Git slides
Git slidesGit slides
Git slides
 
ESE 2010: Using Git in Eclipse
ESE 2010: Using Git in EclipseESE 2010: Using Git in Eclipse
ESE 2010: Using Git in Eclipse
 
git-docker.pdf
git-docker.pdfgit-docker.pdf
git-docker.pdf
 
Development with Git and Gerrit - Eclipse DemoCamp Stuttgart - 2010-11-23
Development with Git and Gerrit - Eclipse DemoCamp Stuttgart - 2010-11-23Development with Git and Gerrit - Eclipse DemoCamp Stuttgart - 2010-11-23
Development with Git and Gerrit - Eclipse DemoCamp Stuttgart - 2010-11-23
 
EGit and Gerrit Code Review - Eclipse DemoCamp Bonn - 2010-11-16
EGit and Gerrit Code Review - Eclipse DemoCamp Bonn - 2010-11-16EGit and Gerrit Code Review - Eclipse DemoCamp Bonn - 2010-11-16
EGit and Gerrit Code Review - Eclipse DemoCamp Bonn - 2010-11-16
 
Git in 5 Minutes
Git in 5 MinutesGit in 5 Minutes
Git in 5 Minutes
 
Git training
Git trainingGit training
Git training
 
Using Git in Eclipse - Eclipse Summit Europe 2010-11-03
Using Git in Eclipse - Eclipse Summit Europe 2010-11-03Using Git in Eclipse - Eclipse Summit Europe 2010-11-03
Using Git in Eclipse - Eclipse Summit Europe 2010-11-03
 
Egit democamp-karlsruhe-2011-11-29
Egit democamp-karlsruhe-2011-11-29Egit democamp-karlsruhe-2011-11-29
Egit democamp-karlsruhe-2011-11-29
 

Mais de msohn

Project Gardener - EclipseCon Europe - 2018-10-23
Project Gardener - EclipseCon Europe - 2018-10-23Project Gardener - EclipseCon Europe - 2018-10-23
Project Gardener - EclipseCon Europe - 2018-10-23msohn
 
News from Git in Eclipse - EclipseCon EU - 2016-10-26
News from Git in Eclipse - EclipseCon EU - 2016-10-26News from Git in Eclipse - EclipseCon EU - 2016-10-26
News from Git in Eclipse - EclipseCon EU - 2016-10-26msohn
 
Git journey from mars to neon EclipseCon North America - 2016-03-08
Git journey from mars to neon   EclipseCon North America - 2016-03-08Git journey from mars to neon   EclipseCon North America - 2016-03-08
Git journey from mars to neon EclipseCon North America - 2016-03-08msohn
 
Versioning large binary files with JGit, EGit and Gerrit
Versioning large binary files with JGit, EGit and GerritVersioning large binary files with JGit, EGit and Gerrit
Versioning large binary files with JGit, EGit and Gerritmsohn
 
News from Git in Eclipse - EclipseCon 2015 Europe
News from Git in Eclipse - EclipseCon 2015 EuropeNews from Git in Eclipse - EclipseCon 2015 Europe
News from Git in Eclipse - EclipseCon 2015 Europemsohn
 
Git missiontomars 2015-03-10
Git missiontomars 2015-03-10Git missiontomars 2015-03-10
Git missiontomars 2015-03-10msohn
 
News from EGit - Talk EclipseCon Europe 2014 - Ludwigsburg
News from EGit - Talk EclipseCon Europe 2014 - LudwigsburgNews from EGit - Talk EclipseCon Europe 2014 - Ludwigsburg
News from EGit - Talk EclipseCon Europe 2014 - Ludwigsburgmsohn
 
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 9 - starting demo gerrit
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 9 - starting demo gerritGit Tutorial EclipseCon France 2014 - Gerrit Exercise 9 - starting demo gerrit
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 9 - starting demo gerritmsohn
 
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 7 - new changescreen
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 7 - new changescreenGit Tutorial EclipseCon France 2014 - Gerrit Exercise 7 - new changescreen
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 7 - new changescreenmsohn
 
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 6 - submit a change
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 6 - submit a changeGit Tutorial EclipseCon France 2014 - Gerrit Exercise 6 - submit a change
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 6 - submit a changemsohn
 
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 5 - improve a change
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 5 - improve a changeGit Tutorial EclipseCon France 2014 - Gerrit Exercise 5 - improve a change
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 5 - improve a changemsohn
 
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 4 - review change
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 4 - review changeGit Tutorial EclipseCon France 2014 - Gerrit Exercise 4 - review change
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 4 - review changemsohn
 
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 3 - push change to gerrit
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 3 - push change to gerritGit Tutorial EclipseCon France 2014 - Gerrit Exercise 3 - push change to gerrit
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 3 - push change to gerritmsohn
 
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 2 - fetch the latest state
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 2 - fetch the latest stateGit Tutorial EclipseCon France 2014 - Gerrit Exercise 2 - fetch the latest state
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 2 - fetch the latest statemsohn
 
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 1 - configure for gerrit
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 1 - configure for gerritGit Tutorial EclipseCon France 2014 - Gerrit Exercise 1 - configure for gerrit
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 1 - configure for gerritmsohn
 
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 8 - view gerrit review ...
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 8 - view gerrit review ...Git Tutorial EclipseCon France 2014 - Gerrit Exercise 8 - view gerrit review ...
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 8 - view gerrit review ...msohn
 
Git Tutorial EclipseCon France 2014 - Git Exercise 07 - git blame
Git Tutorial EclipseCon France 2014 - Git Exercise 07 - git blameGit Tutorial EclipseCon France 2014 - Git Exercise 07 - git blame
Git Tutorial EclipseCon France 2014 - Git Exercise 07 - git blamemsohn
 
Git Tutorial EclipseCon France 2014 - Git Exercise 06 - interactive rebase
Git Tutorial EclipseCon France 2014 - Git Exercise 06 - interactive rebaseGit Tutorial EclipseCon France 2014 - Git Exercise 06 - interactive rebase
Git Tutorial EclipseCon France 2014 - Git Exercise 06 - interactive rebasemsohn
 
Git Tutorial EclipseCon France 2014 - Git Exercise 05 - history view
Git Tutorial EclipseCon France 2014 - Git Exercise 05 - history viewGit Tutorial EclipseCon France 2014 - Git Exercise 05 - history view
Git Tutorial EclipseCon France 2014 - Git Exercise 05 - history viewmsohn
 
Git Tutorial EclipseCon France 2014 - Git Exercise 04 - merging rebasing and ...
Git Tutorial EclipseCon France 2014 - Git Exercise 04 - merging rebasing and ...Git Tutorial EclipseCon France 2014 - Git Exercise 04 - merging rebasing and ...
Git Tutorial EclipseCon France 2014 - Git Exercise 04 - merging rebasing and ...msohn
 

Mais de msohn (20)

Project Gardener - EclipseCon Europe - 2018-10-23
Project Gardener - EclipseCon Europe - 2018-10-23Project Gardener - EclipseCon Europe - 2018-10-23
Project Gardener - EclipseCon Europe - 2018-10-23
 
News from Git in Eclipse - EclipseCon EU - 2016-10-26
News from Git in Eclipse - EclipseCon EU - 2016-10-26News from Git in Eclipse - EclipseCon EU - 2016-10-26
News from Git in Eclipse - EclipseCon EU - 2016-10-26
 
Git journey from mars to neon EclipseCon North America - 2016-03-08
Git journey from mars to neon   EclipseCon North America - 2016-03-08Git journey from mars to neon   EclipseCon North America - 2016-03-08
Git journey from mars to neon EclipseCon North America - 2016-03-08
 
Versioning large binary files with JGit, EGit and Gerrit
Versioning large binary files with JGit, EGit and GerritVersioning large binary files with JGit, EGit and Gerrit
Versioning large binary files with JGit, EGit and Gerrit
 
News from Git in Eclipse - EclipseCon 2015 Europe
News from Git in Eclipse - EclipseCon 2015 EuropeNews from Git in Eclipse - EclipseCon 2015 Europe
News from Git in Eclipse - EclipseCon 2015 Europe
 
Git missiontomars 2015-03-10
Git missiontomars 2015-03-10Git missiontomars 2015-03-10
Git missiontomars 2015-03-10
 
News from EGit - Talk EclipseCon Europe 2014 - Ludwigsburg
News from EGit - Talk EclipseCon Europe 2014 - LudwigsburgNews from EGit - Talk EclipseCon Europe 2014 - Ludwigsburg
News from EGit - Talk EclipseCon Europe 2014 - Ludwigsburg
 
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 9 - starting demo gerrit
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 9 - starting demo gerritGit Tutorial EclipseCon France 2014 - Gerrit Exercise 9 - starting demo gerrit
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 9 - starting demo gerrit
 
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 7 - new changescreen
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 7 - new changescreenGit Tutorial EclipseCon France 2014 - Gerrit Exercise 7 - new changescreen
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 7 - new changescreen
 
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 6 - submit a change
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 6 - submit a changeGit Tutorial EclipseCon France 2014 - Gerrit Exercise 6 - submit a change
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 6 - submit a change
 
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 5 - improve a change
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 5 - improve a changeGit Tutorial EclipseCon France 2014 - Gerrit Exercise 5 - improve a change
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 5 - improve a change
 
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 4 - review change
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 4 - review changeGit Tutorial EclipseCon France 2014 - Gerrit Exercise 4 - review change
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 4 - review change
 
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 3 - push change to gerrit
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 3 - push change to gerritGit Tutorial EclipseCon France 2014 - Gerrit Exercise 3 - push change to gerrit
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 3 - push change to gerrit
 
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 2 - fetch the latest state
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 2 - fetch the latest stateGit Tutorial EclipseCon France 2014 - Gerrit Exercise 2 - fetch the latest state
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 2 - fetch the latest state
 
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 1 - configure for gerrit
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 1 - configure for gerritGit Tutorial EclipseCon France 2014 - Gerrit Exercise 1 - configure for gerrit
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 1 - configure for gerrit
 
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 8 - view gerrit review ...
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 8 - view gerrit review ...Git Tutorial EclipseCon France 2014 - Gerrit Exercise 8 - view gerrit review ...
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 8 - view gerrit review ...
 
Git Tutorial EclipseCon France 2014 - Git Exercise 07 - git blame
Git Tutorial EclipseCon France 2014 - Git Exercise 07 - git blameGit Tutorial EclipseCon France 2014 - Git Exercise 07 - git blame
Git Tutorial EclipseCon France 2014 - Git Exercise 07 - git blame
 
Git Tutorial EclipseCon France 2014 - Git Exercise 06 - interactive rebase
Git Tutorial EclipseCon France 2014 - Git Exercise 06 - interactive rebaseGit Tutorial EclipseCon France 2014 - Git Exercise 06 - interactive rebase
Git Tutorial EclipseCon France 2014 - Git Exercise 06 - interactive rebase
 
Git Tutorial EclipseCon France 2014 - Git Exercise 05 - history view
Git Tutorial EclipseCon France 2014 - Git Exercise 05 - history viewGit Tutorial EclipseCon France 2014 - Git Exercise 05 - history view
Git Tutorial EclipseCon France 2014 - Git Exercise 05 - history view
 
Git Tutorial EclipseCon France 2014 - Git Exercise 04 - merging rebasing and ...
Git Tutorial EclipseCon France 2014 - Git Exercise 04 - merging rebasing and ...Git Tutorial EclipseCon France 2014 - Git Exercise 04 - merging rebasing and ...
Git Tutorial EclipseCon France 2014 - Git Exercise 04 - merging rebasing and ...
 

Último

Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Bhuvaneswari Subramani
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontologyjohnbeverley2021
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Zilliz
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 

Último (20)

Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 

The Git Tutorial - EclipseCon 2012

  • 1. Chris Aniszczyk Stefan Lay Kevin Sawicki (Twitter) (SAP) (GitHub) The Git Tutorial EclipseCon 2012 Matthias Sohn Benjamin Muskalla (SAP) (Tasktop) http://eclipse.org/jgit http://eclipse.org/egit http://code.google.com/p/gerrit
  • 2. Agenda Introduction Exercises Setup & Cloning the Sample Repository Local Development with EGit Gerrit Code Review Mylyn Integration GitHub Eclipse Support Q&A Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
  • 3. Git … a distributed revision control system built by the Linux project to facilitate code review Distributed means no central repository ● No central authority! ● Easy offline usage ● Easy to branch a project ● Protected against manipulation by cryptographic hashes Really good at merging ● Coordination only needed "after the fact” ● Easier to rejoin (or refresh) branches Structured around commits (i.e. patches) ● Tools for identifying problem commits (git bisect) ● Tools for restructuring branches w/ specific commits Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
  • 4. Git at Eclipse JGit is a lightweight Java library implementing Git http://www.eclipse.org/jgit/ EGit is an Eclipse Team provider for Git based on JGit http://www.eclipse.org/egit/ Gerrit Code Review is a Git server based on JGit adding permission control and review workflow http://code.google.com/p/gerrit Gerrit @ Eclipse went live https://git.eclipse.org/r/ Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
  • 5. Eclipse is Moving to Git CVS has been deprecated and will be retired end of 2012 Project & code repository breakdown as of 2012-03-25 http://eclipse.org/projects/scmcountdown.php Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn, S. Zivkov
  • 6. Gerrit Code Review @ Eclipse https://git.eclipse.org/r/ is now available for all projects now used by: EGit, Jetty, JGit, Jubula, Libra, Lyo, Mylyn, Platform, R4E, Recommenders, Skalli, Tycho Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn, S. Zivkov
  • 7. Modern Code Review – What is it ? Guido van Rossum [1] When one developer writes code, another developer is asked to review that code A careful line-by-line critique Happens in a non-threatening context Goal is cooperation, not fault-finding Integral part of coding process Otherwise this will happen: Debugging someone else's broken code – Involuntary code review: Not so good; emotions may flare [1] http://code.google.com/p/rietveld/downloads/detail?name=Mondrian2006.pdf Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
  • 8. Code Review – Benefits Guido van Rossum [1] Four eyes catch more bugs Catch bugs early to save hours of debugging Mentoring of new developers / contributors Learn from mistakes without breaking stuff Establish trust relationships Prepare for more delegation Good alternative to pair programming asynchronous and across locations Coding standards Keep overall readability & code quality high [1] http://code.google.com/p/rietveld/downloads/detail?name=Mondrian2006.pdf Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
  • 9. Gerrit git git git git - verify proposed changes - clone repository - continuous - fetch / push changes integration builds Developer PC Developer PC Hudson git git Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
  • 10. Gerrit git git git git master change 12 submit accepted change 10 change 12 change 23 fetch master fetch change 23 to get push improved change 10 to try it updates Developer PC Developer PC git git git git Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
  • 11. Local Development with EGit Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
  • 12. Gerrit git git git git clone repository Developer PC Developer PC git git Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
  • 13. Sample Application Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
  • 14. Git Exercises 1 Setup & Clone the example repository 2 Develop a feature 3 Develop 2nd feature and use staging view 4 Work on branches in parallel 5 Fetch the latest state 6 Merging, Rebasing, Resolving Conflicts Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
  • 15. Git Exercises 7 History view 8 Reset branch to previous state 9 Change a series of commits 10 Git blame 11 Stash 12 Submodules Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
  • 16. Gerrit Code Review Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
  • 17. Gerrit Server managing central Git repositories Gerrit Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
  • 18. Gerrit Access Control Gerrit Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
  • 19. Gerrit Access Control Gerrit git push Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
  • 20. Gerrit Access Control Gerrit Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
  • 21. Gerrit Access Control Gerrit Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
  • 22. Gerrit Code Review Gerrit Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
  • 23. Gerrit Code Review Gerrit git push Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
  • 24. Gerrit Code Review Gerrit git push Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
  • 25. Gerrit Code Review Gerrit git push <for_review> Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
  • 26. Gerrit Commenting Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
  • 27. Gerrit Discussing & Improving Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
  • 28. Gerrit Voting Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
  • 29. Gerrit Do not miss: Talk by Shawn Pearce (Gerrit founder and Project Lead) Harnessing Peer Code Reviews Wednesday, 14:15, Ballroom A Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
  • 30. http://git.eclipse.org/r/ Gerrit git git git git - verify proposed changes - continuous - clone repository integration builds - fetch / push changes Developer PC Developer PC Hudson git git Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
  • 31. Gerrit Exercises 1 Configure push to Gerrit 2 Push change to Gerrit 3 Review change 4 Improve a change 5 Submit a change to the codebase 6 View Gerrit review notes 7 Starting Demo Gerrit Server (backup) Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
  • 32. Mylyn Integration Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
  • 33. 90% Irrelevant Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
  • 34. Task-focused IDE Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
  • 35. < Demo > Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
  • 36. Exercises: Mylyn Integration 1 Mylyn / EGit Integration Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
  • 37. Exercises: Mylyn Integration 2 Use Gerrit from within the IDE Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
  • 38. Exercises: Mylyn Integration 1 Mylyn / EGit Integration 2 Use Gerrit from within the IDE Related talk Wednesday, 1:30PM - 2:15PM Build, Stage, Review, Merge: Task-focused Development the Eclipse Mylyn Way Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
  • 39. GitHub Eclipse Support Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
  • 40. GitHub Eclipse Support ● https://github.com/eclipse ○ 248 mirrored repositories ● Browsing source code ● Comparing branches and tags ● Activity feeds ● Charts & graphs ● Downloading snapshots Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
  • 42. GitHub EGit Integration GitHub Mylyn Connector Issues Gists Pull Requests Import Wizard GitHub Java API Maven plugins Reporting Automating tasks Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
  • 43. GitHub Exercises: EGit Integration 1 Setup Share on GitHub Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
  • 44. Q&A Copyright © C. Aniszczyk, S. Lay, B. Muskalla, K. Sawicki, M. Sohn
  • 45. Give Feedback on the Sessions 1 Sign In: www.eclipsecon.org 2 Select Session Evaluate 3 Vote