import from git fails [message #871354] |
Sat, 12 May 2012 06:18  |
Eclipse User |
|
|
|
hi,
ive just created a project on a linux installation and later imported it on a windows eclipse.
now on a third machine importing the project doesnt work, its all fine until i can choose between
* import existing project
* use the new project wizard
* import as a general project
choosind the first option tells me on the next page that theres no project to import
(this worked the on the windows host)
[b]what i did:[\b]
file -> import -> git -> projects from git -> uri
i only used these three fields:
hostname = gitoliteeclipse
repository path = labor1
protocol = ssh
the rest is defined in ~/.ssh/config
Host gitoliteeclipse
Hostname 10.8.1.18
IdentitiesOnly yes
User julius
IdentityFile /home/juliusnew/.ssh/id_rsa.eclipse
all three machines use eclipse for java developers SR2
what could be the problem?
doing a git clone from the console i get these files:
git clone gitoliteeclipse:labor1
Cloning into 'labor1'...
remote: Counting objects: 11, done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 11 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (11/11), 3.18 KiB, done.
find labor1/
labor1/
labor1/Prog-Aufgabe1
labor1/Prog-Aufgabe1/src
labor1/Prog-Aufgabe1/src/de
labor1/Prog-Aufgabe1/src/de/proglabor
labor1/Prog-Aufgabe1/src/de/proglabor/aufgabe1
labor1/Prog-Aufgabe1/src/de/proglabor/aufgabe1/Spiel.java
labor1/Prog-Aufgabe1/src/de/proglabor/aufgabe1/ISpiel.java
labor1/Prog-Aufgabe1/src/de/proglabor/aufgabe1/Spielfigur.java
labor1/Prog-Aufgabe1/src/de/proglabor/aufgabe1/Bauer.java
labor1/.git
labor1/.git/branches
labor1/.git/logs
labor1/.git/logs/refs
labor1/.git/logs/refs/heads
labor1/.git/logs/refs/heads/master
labor1/.git/logs/HEAD
labor1/.git/packed-refs
labor1/.git/info
labor1/.git/info/exclude
labor1/.git/refs
labor1/.git/refs/remotes
labor1/.git/refs/remotes/origin
labor1/.git/refs/remotes/origin/HEAD
labor1/.git/refs/heads
labor1/.git/refs/heads/master
labor1/.git/refs/tags
labor1/.git/description
labor1/.git/objects
labor1/.git/objects/info
labor1/.git/objects/pack
labor1/.git/objects/pack/pack-b828f9c83301c2285aba1c3e756996207a436d35.idx
labor1/.git/objects/pack/pack-b828f9c83301c2285aba1c3e756996207a436d35.pack
labor1/.git/hooks
labor1/.git/hooks/applypatch-msg.sample
labor1/.git/hooks/prepare-commit-msg.sample
labor1/.git/hooks/pre-rebase.sample
labor1/.git/hooks/pre-applypatch.sample
labor1/.git/hooks/commit-msg.sample
labor1/.git/hooks/update.sample
labor1/.git/hooks/post-update.sample
labor1/.git/hooks/pre-commit.sample
labor1/.git/config
labor1/.git/index
labor1/.git/HEAD
[Updated on: Sat, 12 May 2012 06:38] by Moderator
|
|
|
Re: import from git fails [message #892378 is a reply to message #871354] |
Wed, 27 June 2012 19:03  |
Eclipse User |
|
|
|
You didn't commit the .project file, so it's not part of the git repository.
When you clone it to another repository only the files tracked in the git repository
are copied to the new clone.
|
|
|
Powered by
FUDForum. Page generated in 0.02513 seconds