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 "Git"

m (CVS to Git in subtitle)
Line 8: Line 8:
 
     git config --global user.email my_committer_email@address.com
 
     git config --global user.email my_committer_email@address.com
 
     git config --global user.name "John Doe"
 
     git config --global user.name "John Doe"
 +
 +
=== List of git repositories available ===
 +
 +
(There are none yet)
  
 
=== Connecting, cloning a repo ===
 
=== Connecting, cloning a repo ===
 +
Please see the list of git repositories (above).
 +
 
     git clone ssh://committer_id@git.eclipse.org/gitroot/project/repo
 
     git clone ssh://committer_id@git.eclipse.org/gitroot/project/repo
  

Revision as of 09:59, 28 January 2010

Git Repositories

Committers new to Git

Before working on a git repository, please:

  • Read Git for Dummies
  • Note that anyone can commit to their repo, but only Eclipse committers can push their repo to git.eclipse.org
  • DON'T FORGET to configure your git environment
   git config --global user.email my_committer_email@address.com
   git config --global user.name "John Doe"

List of git repositories available

(There are none yet)

Connecting, cloning a repo

Please see the list of git repositories (above).

   git clone ssh://committer_id@git.eclipse.org/gitroot/project/repo

Example:

   git clone ssh://droy@git.eclipse.org/gitroot/babel/org.eclipse.babel.server.git

Committing and pushing

Before committing code to your cloned repo, please ensure that your git environment is properly set. Otherwise, the email address stored in the commit transaction in your repository will not match the email address of your Eclipse Committer record with the Eclipse Foundation, and your push will fail.

Creating a new repository

Webmaster can create a new repository for you. Just open a bug against Eclipse Foundation > Community > Git. However, Eclipse committers with shell accounts can create new repositories:

   cd /gitroot/your_project
   mkdir org.eclipse.your.repo.name.git
   cd org.eclipse.your.repo.name.git
   git init --bare --shared

Git mirrors of CVS repositories

The CVS repositories at Eclipse.org are being mirrored to read-only git repositories. Please see the git repositories page for the full list of repositories.

Back to the top