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 "Platform-releng/Git Workflows"

(New page: We'd like to capture some common CVS workflows used by the Eclipse Project and spell out the git/EGit equivalent. = Clone your repo = = Start working in HEAD = = Start working in a new ...)
 
(Clone your repo)
Line 2: Line 2:
  
 
= Clone your repo =
 
= Clone your repo =
 +
 +
The first step is to clone the one or more repos you need to work on.  You want to clone the repo to a location ''outside'' your workspace.  Then use the '''EGit Import Projects''' option to import the projects.
 +
 +
Refer to the [[EGit/User Guide]] for instructions and pictures.
 +
 +
# Switch to the '''Git Repository Exploring''' Perspective
 +
# Use '''Clone a Git repository'''
 +
# you can paste in your connection URL and it should do the right thing.  Some URLs:
 +
## ssh://userid@git.eclipse.org/gitroot/equinox/rt.equinox.bundles.git
 +
## ssh://userid@git.eclipse.org/gitroot/equinox/rt.equinox.framework.git
 +
## ssh://userid@git.eclipse.org/gitroot/equinox/rt.equinox.incubator.git
 +
## ssh://userid@git.eclipse.org/gitroot/equinox/rt.equinox.p2.git
 +
## ssh://userid@git.eclipse.org/gitroot/equinox/rt.equinox.security.git
 +
## ssh://userid@git.eclipse.org/gitroot/jdt/eclipse.jdt.core.git
 +
## ssh://userid@git.eclipse.org/gitroot/jdt/eclipse.jdt.debug.git
 +
## ssh://userid@git.eclipse.org/gitroot/jdt/eclipse.jdt.git
 +
## ssh://userid@git.eclipse.org/gitroot/jdt/eclipse.jdt.ui.git
 +
## ssh://userid@git.eclipse.org/gitroot/pde/eclipse.pde.build.git
 +
## ssh://userid@git.eclipse.org/gitroot/pde/eclipse.pde.git
 +
## ssh://userid@git.eclipse.org/gitroot/pde/eclipse.pde.incubator.git
 +
## ssh://userid@git.eclipse.org/gitroot/pde/eclipse.pde.ui.git
 +
## ssh://userid@git.eclipse.org/gitroot/platform/eclipse.platform.debug.git
 +
## ssh://userid@git.eclipse.org/gitroot/platform/eclipse.platform.git
 +
## ssh://userid@git.eclipse.org/gitroot/platform/eclipse.platform.releng.git
 +
## ssh://userid@git.eclipse.org/gitroot/platform/eclipse.platform.resources.git
 +
## ssh://userid@git.eclipse.org/gitroot/platform/eclipse.platform.runtime.git
 +
## ssh://userid@git.eclipse.org/gitroot/platform/eclipse.platform.swt.git
 +
## ssh://userid@git.eclipse.org/gitroot/platform/eclipse.platform.team.git
 +
## ssh://userid@git.eclipse.org/gitroot/platform/eclipse.platform.text.git
 +
## ssh://userid@git.eclipse.org/gitroot/platform/eclipse.platform.ua.git
 +
## ssh://userid@git.eclipse.org/gitroot/platform/eclipse.platform.ui.git
 +
# no *and then*
  
 
= Start working in HEAD =
 
= Start working in HEAD =

Revision as of 07:44, 5 July 2011

We'd like to capture some common CVS workflows used by the Eclipse Project and spell out the git/EGit equivalent.

Clone your repo

The first step is to clone the one or more repos you need to work on. You want to clone the repo to a location outside your workspace. Then use the EGit Import Projects option to import the projects.

Refer to the EGit/User Guide for instructions and pictures.

  1. Switch to the Git Repository Exploring Perspective
  2. Use Clone a Git repository
  3. you can paste in your connection URL and it should do the right thing. Some URLs:
    1. ssh://userid@git.eclipse.org/gitroot/equinox/rt.equinox.bundles.git
    2. ssh://userid@git.eclipse.org/gitroot/equinox/rt.equinox.framework.git
    3. ssh://userid@git.eclipse.org/gitroot/equinox/rt.equinox.incubator.git
    4. ssh://userid@git.eclipse.org/gitroot/equinox/rt.equinox.p2.git
    5. ssh://userid@git.eclipse.org/gitroot/equinox/rt.equinox.security.git
    6. ssh://userid@git.eclipse.org/gitroot/jdt/eclipse.jdt.core.git
    7. ssh://userid@git.eclipse.org/gitroot/jdt/eclipse.jdt.debug.git
    8. ssh://userid@git.eclipse.org/gitroot/jdt/eclipse.jdt.git
    9. ssh://userid@git.eclipse.org/gitroot/jdt/eclipse.jdt.ui.git
    10. ssh://userid@git.eclipse.org/gitroot/pde/eclipse.pde.build.git
    11. ssh://userid@git.eclipse.org/gitroot/pde/eclipse.pde.git
    12. ssh://userid@git.eclipse.org/gitroot/pde/eclipse.pde.incubator.git
    13. ssh://userid@git.eclipse.org/gitroot/pde/eclipse.pde.ui.git
    14. ssh://userid@git.eclipse.org/gitroot/platform/eclipse.platform.debug.git
    15. ssh://userid@git.eclipse.org/gitroot/platform/eclipse.platform.git
    16. ssh://userid@git.eclipse.org/gitroot/platform/eclipse.platform.releng.git
    17. ssh://userid@git.eclipse.org/gitroot/platform/eclipse.platform.resources.git
    18. ssh://userid@git.eclipse.org/gitroot/platform/eclipse.platform.runtime.git
    19. ssh://userid@git.eclipse.org/gitroot/platform/eclipse.platform.swt.git
    20. ssh://userid@git.eclipse.org/gitroot/platform/eclipse.platform.team.git
    21. ssh://userid@git.eclipse.org/gitroot/platform/eclipse.platform.text.git
    22. ssh://userid@git.eclipse.org/gitroot/platform/eclipse.platform.ua.git
    23. ssh://userid@git.eclipse.org/gitroot/platform/eclipse.platform.ui.git
  4. no *and then*

Start working in HEAD

Start working in a new branch

Create a patch

Apply a patch

Tag the mapfile for a build

Commit changes to HEAD

Update to pull in the latest changes to HEAD

Merge conflicting changes

Back to the top