Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "EGit/Tutorial-ECE2011"

([RFC] Agenda Proposal)
Line 51: Line 51:
 
** Browsing issues and pull requests
 
** Browsing issues and pull requests
 
** Creating Gists
 
** Creating Gists
 +
** Exercise
 +
*** Creating repository on GitHub and use it from Eclipse
 
* All the rest (Chris)
 
* All the rest (Chris)
 
** ?
 
** ?

Revision as of 13:15, 27 October 2011

Eclipse Hacker's Guide to the Git Universe

Git Tutorial for EclipseCon Europe 2011

http://eclipsecon.org/sessions/eclipse-hackers-guide-git-universe

Nov 2, 9:00-12:30 (Theater Stage)

=> we have 3,5 hours for the complete session

Registrations (on Oct. 13): 93 registered, 113 open seats. The room holds 206 people.

[RFC] Agenda Proposal


30 min per speaker

  • Intro (Matthias)
    • Setup for tutorial, USB-sticks
    • What's Git/EGit/JGit/Gerrit (Overview)
    • Basic concepts of Git
      • Configuration
      • Making changes (cloning, local branches, commits, fetch, push)
    • Exercises: register at egit.eclipse.org, generate HTTP password and clone sample repo
  • EGit UI walk through (Stefan)
    • Demo: Overview of egit views and commands
      • Repositories View: Create two local branches (bugfix and feature branch based on origin master)
      • Create commits on both branches (Staging view, commit dialog)
      • History view (explain filters)
      • Local merge and/or rebase
    • Exercises:
      • create feature branch, do a change (implement an operation), commit (include change-id for Gerrit)
      • create another feature branch based on origin/master, do another change (try both conflicting/non-conflicting), commit
      • merge the two local branches
      • reset
      • try rebase
  • Gerrit (Sasa)
    • What's Gerrit
    • Why Code Review
    • Integration with EGit
    • Best Practices
    • Exercises
      • push a single commit from feature branch
      • how to do code review (review changes of other participants)
      • improve change based on review comments, amend
      • push improved change
      • fetch a change locally for testing
  • EGit + Mylyn Integration, Gerrit Connector, Jenkins Gerrit-Trigger Plugin (Benny)
    •  ?
  • EGit + GitHub (Kevin)
    • GitHub/Eclipse overview
      • Mirrored repositories
    • Cloning from GitHub into EGit
    • Browsing issues and pull requests
    • Creating Gists
    • Exercise
      • Creating repository on GitHub and use it from Eclipse
  • All the rest (Chris)
    •  ?
  • Q & A (all)

Benny proposed that we might handout a bunch of different exercises to different attendees, we could do this for every topic

maybe we could also ask some of them to present the result of what they tried to make the session more interactive ?

[RFC] Tutorial Setup

  • USB-Stick
    • Indigo SR1 with EGit 1.1 (Package "Eclipse for RCP and RAP Developers" 3.7.1)
    • Gerrit in a zip, with user and repository (as backup if no wlan available)
    • update sites for additional features, e.g. mylyn gerrit connector, github connector (Benny, Kevin, what do you need?)
      • GitHub Connector should be available from Indigo SR1 update site
    • Installers for native git
    • Exercises
    • Slides

Documents

Slide Deck and Exercises are hosted at Google Docs (shared with the authors)

Back to the top