Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Collaborative Development

Collaborative Development

Using git and Eclipse with the EGit and Mylyn plugins.
https://github.com/sinisterstuf/git-presentation

Siôn Le Roux

October 19, 2012
Tweet

Other Decks in Programming

Transcript

  1. Introduction Set-up Usage Collaborative Development Using git and Eclipse with

    the EGit and Mylyn plugins. Siôn Le Roux 17th September 2014 Siôn Le Roux Git & Eclipse
  2. Introduction Set-up Usage Overview 1 Introduction 2 Set-up Git Eclipse

    3 Usage EGit Mylyn GitHub Siôn Le Roux Git & Eclipse
  3. Introduction Set-up Usage Introduction Why are we doing this? Why

    git and Eclipse? Git: best VCS1 free project hosting on GitHub does distributed Version Control Eclipse: great Java IDE plug-in based architecture Can we get a copy of this tutorial?2 What do we aim to achieve? 1git-scm.com/about 2sionleroux.com/files/git-presentation.pdf Siôn Le Roux Git & Eclipse
  4. Introduction Set-up Usage Introduction Why are we doing this? Why

    git and Eclipse? Git: best VCS1 free project hosting on GitHub does distributed Version Control Eclipse: great Java IDE plug-in based architecture Can we get a copy of this tutorial?2 What do we aim to achieve? 1git-scm.com/about 2sionleroux.com/files/git-presentation.pdf Siôn Le Roux Git & Eclipse
  5. Introduction Set-up Usage Introduction Why are we doing this? Why

    git and Eclipse? Git: best VCS1 free project hosting on GitHub does distributed Version Control Eclipse: great Java IDE plug-in based architecture Can we get a copy of this tutorial?2 What do we aim to achieve? 1git-scm.com/about 2sionleroux.com/files/git-presentation.pdf Siôn Le Roux Git & Eclipse
  6. Introduction Set-up Usage Introduction Why are we doing this? Why

    git and Eclipse? Git: best VCS1 free project hosting on GitHub does distributed Version Control Eclipse: great Java IDE plug-in based architecture Can we get a copy of this tutorial?2 What do we aim to achieve? 1git-scm.com/about 2sionleroux.com/files/git-presentation.pdf Siôn Le Roux Git & Eclipse
  7. Introduction Set-up Usage Introduction Why are we doing this? Why

    git and Eclipse? Git: best VCS1 free project hosting on GitHub does distributed Version Control Eclipse: great Java IDE plug-in based architecture Can we get a copy of this tutorial?2 What do we aim to achieve? 1git-scm.com/about 2sionleroux.com/files/git-presentation.pdf Siôn Le Roux Git & Eclipse
  8. Introduction Set-up Usage Introduction Why are we doing this? Why

    git and Eclipse? Git: best VCS1 free project hosting on GitHub does distributed Version Control Eclipse: great Java IDE plug-in based architecture Can we get a copy of this tutorial?2 What do we aim to achieve? 1git-scm.com/about 2sionleroux.com/files/git-presentation.pdf Siôn Le Roux Git & Eclipse
  9. Introduction Set-up Usage Introduction Why are we doing this? Why

    git and Eclipse? Git: best VCS1 free project hosting on GitHub does distributed Version Control Eclipse: great Java IDE plug-in based architecture Can we get a copy of this tutorial?2 What do we aim to achieve? 1git-scm.com/about 2sionleroux.com/files/git-presentation.pdf Siôn Le Roux Git & Eclipse
  10. Introduction Set-up Usage Introduction Why are we doing this? Why

    git and Eclipse? Git: best VCS1 free project hosting on GitHub does distributed Version Control Eclipse: great Java IDE plug-in based architecture Can we get a copy of this tutorial?2 What do we aim to achieve? 1git-scm.com/about 2sionleroux.com/files/git-presentation.pdf Siôn Le Roux Git & Eclipse
  11. Introduction Set-up Usage Introduction Why are we doing this? Why

    git and Eclipse? Git: best VCS1 free project hosting on GitHub does distributed Version Control Eclipse: great Java IDE plug-in based architecture Can we get a copy of this tutorial?2 What do we aim to achieve? 1git-scm.com/about 2sionleroux.com/files/git-presentation.pdf Siôn Le Roux Git & Eclipse
  12. Introduction Set-up Usage Git Eclipse Overview 1 Introduction 2 Set-up

    Git Eclipse 3 Usage EGit Mylyn GitHub Siôn Le Roux Git & Eclipse
  13. Introduction Set-up Usage Git Eclipse Overview 1 Introduction 2 Set-up

    Git Eclipse 3 Usage EGit Mylyn GitHub Siôn Le Roux Git & Eclipse
  14. Introduction Set-up Usage Git Eclipse Installing Git GNU/Linux Install git

    from your package manager. On Debian based systems, that’s: # aptitude install git Windows 1 Download the Git for Windows installer from msysgit.github.com 2 Follow the installation instructions following the installer’s recommended “safe” options. You can now type git at the command prompt, and access the Git GUI on Windows. Siôn Le Roux Git & Eclipse
  15. Introduction Set-up Usage Git Eclipse Installing Git GNU/Linux Install git

    from your package manager. On Debian based systems, that’s: # aptitude install git Windows 1 Download the Git for Windows installer from msysgit.github.com 2 Follow the installation instructions following the installer’s recommended “safe” options. You can now type git at the command prompt, and access the Git GUI on Windows. Siôn Le Roux Git & Eclipse
  16. Introduction Set-up Usage Git Eclipse Installing Git GNU/Linux Install git

    from your package manager. On Debian based systems, that’s: # aptitude install git Windows 1 Download the Git for Windows installer from msysgit.github.com 2 Follow the installation instructions following the installer’s recommended “safe” options. You can now type git at the command prompt, and access the Git GUI on Windows. Siôn Le Roux Git & Eclipse
  17. Introduction Set-up Usage Git Eclipse Installing Git GNU/Linux Install git

    from your package manager. On Debian based systems, that’s: # aptitude install git Windows 1 Download the Git for Windows installer from msysgit.github.com 2 Follow the installation instructions following the installer’s recommended “safe” options. You can now type git at the command prompt, and access the Git GUI on Windows. Siôn Le Roux Git & Eclipse
  18. Introduction Set-up Usage Git Eclipse Installing Git GNU/Linux Install git

    from your package manager. On Debian based systems, that’s: # aptitude install git Windows 1 Download the Git for Windows installer from msysgit.github.com 2 Follow the installation instructions following the installer’s recommended “safe” options. You can now type git at the command prompt, and access the Git GUI on Windows. Siôn Le Roux Git & Eclipse
  19. Introduction Set-up Usage Git Eclipse Installing Git GNU/Linux Install git

    from your package manager. On Debian based systems, that’s: # aptitude install git Windows 1 Download the Git for Windows installer from msysgit.github.com 2 Follow the installation instructions following the installer’s recommended “safe” options. You can now type git at the command prompt, and access the Git GUI on Windows. Siôn Le Roux Git & Eclipse
  20. Introduction Set-up Usage Git Eclipse Setting up Git Follow instructions

    at help.github.com/articles/set-up-git In summary: 1 If you don’t have one, create an account at github.com 2 Generate a private-public ssh-keypair 3 Add the public key on GitHub 4 Set your name and e-mail in the global git config Setting name and e-mail git config --global user.name ’John Doe’ git config --global user.email ’[email protected]’ You can learn git at git-scm.com/book Siôn Le Roux Git & Eclipse
  21. Introduction Set-up Usage Git Eclipse Setting up Git Follow instructions

    at help.github.com/articles/set-up-git In summary: 1 If you don’t have one, create an account at github.com 2 Generate a private-public ssh-keypair 3 Add the public key on GitHub 4 Set your name and e-mail in the global git config Setting name and e-mail git config --global user.name ’John Doe’ git config --global user.email ’[email protected]’ You can learn git at git-scm.com/book Siôn Le Roux Git & Eclipse
  22. Introduction Set-up Usage Git Eclipse Setting up Git Follow instructions

    at help.github.com/articles/set-up-git In summary: 1 If you don’t have one, create an account at github.com 2 Generate a private-public ssh-keypair 3 Add the public key on GitHub 4 Set your name and e-mail in the global git config Setting name and e-mail git config --global user.name ’John Doe’ git config --global user.email ’[email protected]’ You can learn git at git-scm.com/book Siôn Le Roux Git & Eclipse
  23. Introduction Set-up Usage Git Eclipse Setting up Git Follow instructions

    at help.github.com/articles/set-up-git In summary: 1 If you don’t have one, create an account at github.com 2 Generate a private-public ssh-keypair 3 Add the public key on GitHub 4 Set your name and e-mail in the global git config Setting name and e-mail git config --global user.name ’John Doe’ git config --global user.email ’[email protected]’ You can learn git at git-scm.com/book Siôn Le Roux Git & Eclipse
  24. Introduction Set-up Usage Git Eclipse Setting up Git Follow instructions

    at help.github.com/articles/set-up-git In summary: 1 If you don’t have one, create an account at github.com 2 Generate a private-public ssh-keypair 3 Add the public key on GitHub 4 Set your name and e-mail in the global git config Setting name and e-mail git config --global user.name ’John Doe’ git config --global user.email ’[email protected]’ You can learn git at git-scm.com/book Siôn Le Roux Git & Eclipse
  25. Introduction Set-up Usage Git Eclipse Setting up Git Follow instructions

    at help.github.com/articles/set-up-git In summary: 1 If you don’t have one, create an account at github.com 2 Generate a private-public ssh-keypair 3 Add the public key on GitHub 4 Set your name and e-mail in the global git config Setting name and e-mail git config --global user.name ’John Doe’ git config --global user.email ’[email protected]’ You can learn git at git-scm.com/book Siôn Le Roux Git & Eclipse
  26. Introduction Set-up Usage Git Eclipse Setting up Git Follow instructions

    at help.github.com/articles/set-up-git In summary: 1 If you don’t have one, create an account at github.com 2 Generate a private-public ssh-keypair 3 Add the public key on GitHub 4 Set your name and e-mail in the global git config Setting name and e-mail git config --global user.name ’John Doe’ git config --global user.email ’[email protected]’ You can learn git at git-scm.com/book Siôn Le Roux Git & Eclipse
  27. Introduction Set-up Usage Git Eclipse Setting up Git Follow instructions

    at help.github.com/articles/set-up-git In summary: 1 If you don’t have one, create an account at github.com 2 Generate a private-public ssh-keypair 3 Add the public key on GitHub 4 Set your name and e-mail in the global git config Setting name and e-mail git config --global user.name ’John Doe’ git config --global user.email ’[email protected]’ You can learn git at git-scm.com/book Siôn Le Roux Git & Eclipse
  28. Introduction Set-up Usage Git Eclipse Overview 1 Introduction 2 Set-up

    Git Eclipse 3 Usage EGit Mylyn GitHub Siôn Le Roux Git & Eclipse
  29. Introduction Set-up Usage Git Eclipse Getting Eclipse GNU/Linux Install eclipse

    from your package manager. On Debian based systems, that’s: # aptitude install eclipse Windows 1 Download Eclipse Classic from eclipse.org/downloads 2 Unzip the eclipse folder to Program Files 3 Create desktop and start menu shortcuts to eclipse.exe Siôn Le Roux Git & Eclipse
  30. Introduction Set-up Usage Git Eclipse Getting Eclipse GNU/Linux Install eclipse

    from your package manager. On Debian based systems, that’s: # aptitude install eclipse Windows 1 Download Eclipse Classic from eclipse.org/downloads 2 Unzip the eclipse folder to Program Files 3 Create desktop and start menu shortcuts to eclipse.exe Siôn Le Roux Git & Eclipse
  31. Introduction Set-up Usage Git Eclipse Getting Eclipse GNU/Linux Install eclipse

    from your package manager. On Debian based systems, that’s: # aptitude install eclipse Windows 1 Download Eclipse Classic from eclipse.org/downloads 2 Unzip the eclipse folder to Program Files 3 Create desktop and start menu shortcuts to eclipse.exe Siôn Le Roux Git & Eclipse
  32. Introduction Set-up Usage Git Eclipse Getting Eclipse GNU/Linux Install eclipse

    from your package manager. On Debian based systems, that’s: # aptitude install eclipse Windows 1 Download Eclipse Classic from eclipse.org/downloads 2 Unzip the eclipse folder to Program Files 3 Create desktop and start menu shortcuts to eclipse.exe Siôn Le Roux Git & Eclipse
  33. Introduction Set-up Usage Git Eclipse Getting Eclipse GNU/Linux Install eclipse

    from your package manager. On Debian based systems, that’s: # aptitude install eclipse Windows 1 Download Eclipse Classic from eclipse.org/downloads 2 Unzip the eclipse folder to Program Files 3 Create desktop and start menu shortcuts to eclipse.exe Siôn Le Roux Git & Eclipse
  34. Introduction Set-up Usage Git Eclipse Installing the Plug-Ins Eclipse plug-ins

    can be installed from the marketplace: Help > Eclipse Marketplace The required plug-ins are: EGit for git support Mylyn for bugtracking and task management Connector GitHub Connector for Mylyn Note After restarting Eclipse you should be able to access the new Git and Task management perspectives: Siôn Le Roux Git & Eclipse
  35. Introduction Set-up Usage Git Eclipse Installing the Plug-Ins Eclipse plug-ins

    can be installed from the marketplace: Help > Eclipse Marketplace The required plug-ins are: EGit for git support Mylyn for bugtracking and task management Connector GitHub Connector for Mylyn Note After restarting Eclipse you should be able to access the new Git and Task management perspectives: Siôn Le Roux Git & Eclipse
  36. Introduction Set-up Usage Git Eclipse Installing the Plug-Ins Eclipse plug-ins

    can be installed from the marketplace: Help > Eclipse Marketplace The required plug-ins are: EGit for git support Mylyn for bugtracking and task management Connector GitHub Connector for Mylyn Note After restarting Eclipse you should be able to access the new Git and Task management perspectives: Siôn Le Roux Git & Eclipse
  37. Introduction Set-up Usage Git Eclipse Installing the Plug-Ins Eclipse plug-ins

    can be installed from the marketplace: Help > Eclipse Marketplace The required plug-ins are: EGit for git support Mylyn for bugtracking and task management Connector GitHub Connector for Mylyn Note After restarting Eclipse you should be able to access the new Git and Task management perspectives: Siôn Le Roux Git & Eclipse
  38. Introduction Set-up Usage Git Eclipse Installing the Plug-Ins Eclipse plug-ins

    can be installed from the marketplace: Help > Eclipse Marketplace The required plug-ins are: EGit for git support Mylyn for bugtracking and task management Connector GitHub Connector for Mylyn Note After restarting Eclipse you should be able to access the new Git and Task management perspectives: Siôn Le Roux Git & Eclipse
  39. Introduction Set-up Usage Git Eclipse Installing the Plug-Ins Eclipse plug-ins

    can be installed from the marketplace: Help > Eclipse Marketplace The required plug-ins are: EGit for git support Mylyn for bugtracking and task management Connector GitHub Connector for Mylyn Note After restarting Eclipse you should be able to access the new Git and Task management perspectives: Siôn Le Roux Git & Eclipse
  40. Introduction Set-up Usage EGit Mylyn GitHub Overview 1 Introduction 2

    Set-up Git Eclipse 3 Usage EGit Mylyn GitHub Siôn Le Roux Git & Eclipse
  41. Introduction Set-up Usage EGit Mylyn GitHub Overview 1 Introduction 2

    Set-up Git Eclipse 3 Usage EGit Mylyn GitHub Siôn Le Roux Git & Eclipse
  42. Introduction Set-up Usage EGit Mylyn GitHub The following new perspective

    is also available: Siôn Le Roux Git & Eclipse
  43. Introduction Set-up Usage EGit Mylyn GitHub Overview 1 Introduction 2

    Set-up Git Eclipse 3 Usage EGit Mylyn GitHub Siôn Le Roux Git & Eclipse
  44. Introduction Set-up Usage EGit Mylyn GitHub To use Mylyn you

    will first need to add a task repository: Siôn Le Roux Git & Eclipse
  45. Introduction Set-up Usage EGit Mylyn GitHub You can then add

    issues which will be synced to GitHub’s servers: Siôn Le Roux Git & Eclipse
  46. Introduction Set-up Usage EGit Mylyn GitHub Overview 1 Introduction 2

    Set-up Git Eclipse 3 Usage EGit Mylyn GitHub Siôn Le Roux Git & Eclipse
  47. Introduction Set-up Usage EGit Mylyn GitHub Now issues added in

    Eclipse will be added in the GitHub web interface: Siôn Le Roux Git & Eclipse
  48. Introduction Set-up Usage EGit Mylyn GitHub We can also comment

    and manage issues on GitHub the same way as in Eclipse: Siôn Le Roux Git & Eclipse