Can anyone point in the direction of some useful Git-Eclipse integration
instructions, particularly those helpful for the uPortal project structure?

I've tried following EGit's User Guide, but what I've been able to come up
with is awkward and pretty unusable:

http://wiki.eclipse.org/EGit/User_Guide

What I've done so far:

- Forked uPortal to my account on github: https://github.com/nblair/uPortal
- Created a local clone of the repository, git clone [email protected]:
nblair/uPortal.git
- Created a branch to work on git checkout -b UP-3226

Now in Eclipse, I've got EGit installed. Under the Git Repositories
perspective, I added my local clone.
The most intuitive path I started with was navigate under
Branches/Local/UP-3226. It seemed to me that I could right click on that
branch and check it out as a project, but that option doesn't exist.
If you right click on the Working directory, Import project shows up as an
option. It doesn't appear that .project files are available in the source
tree, so the only option that works is to import as a General project.

I did just that, thinking I could use Import->Existing Maven Projects and
they'd all show up as I had them previously. That doesn't work however.

The only way I could get rolling was to import just one sub-project (e.g.
uportal-war) at a time. That works, but the project doesn't show up as
attached to a VCS, so right clicking on any entry under that project doesn't
offer any Team actions. I have to go up to the original general project to
see Team actions.

Can anyone share their workspace setups? I'm thinking I'm just missing the
obvious, since so far my experience using Git with Eclipse has been pretty
poor.

Bonus question: What is the equivalent for "svn revert"? There is nothing
under the Team actions that resembles it. I'm not even sure how to do it
from the command line.

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/uportal-dev

Reply via email to