Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [egit-dev] Old style .git directory in the project directory? How?

2011/12/11 Matěj Cepl <mcepl@xxxxxxxxxx>
Hi,

I am fully aware of http://wiki.eclipse.org/EGit/User_Guide#Eclipse_Workspace_and_Repository_working_directory and that in-project repositories are not favored by the current EGit developers. However, call me crazy, what if I just want it? Isn't there a way how to persuade EGit not to require a separate directory with git repositories in the same way it used to work with previous versions of EGit?

Is there any hope for me? (aside from "Patches welcome!")

- create a new project in the Eclipse workspace or in a folder contained in the workspace 
  (the latter is the better choice since otherwise you can't add more than one project to the repo)
- select the project and click "Team > Share > Git"
- click "Use or create repository in parent folder of project"
- this brings up the old sharing wizard
- select the project(s)
- click "Create Repository"

--
Matthias

Back to the top