So, to create a new C/C++ synchronized project fro
a project in a git repo, just one project, and not cloning the
whole repo, and doing it in ONE STEP, here is what I've figured
out for a tutorial workflow. Comments if you think something
else is simpler or otherwise better:
1. Import Projects from git
2. enter g.. Git>Projects from Git
4. Select "Use the New Project Wizard", Finish
5. Remote>Synchronized C/C++ Project
6. Enter a)project name
b) UNCHECK Local directory/Use default location
and enter
/path/to/gitrepo/ptp-tutorial/PROJDIRNAME
e.g. PROJDIRNAME = 'shallow'
for our tutorial sample
c)Remote directory: enter as usual, connection
name (or create it with Browse)
and remote dir
7. Project Type: Makefile project/Empty Project, Remote
Toolchain e.g. Linux GCC
(Local toolchain optional) - Finish
8. Project is created
This was not intuitive to me, it took a couple of us
several tries to figure this out
(using git as source code repository, checking out
project in the process)
The critical step is 6b), using the git local repo location
instead default eclipse workspace location,
AND specifying the project name, not the head of
the repo
Anybody disagree? Trying to make tutorial slides.
John E, is there anything I missed?