Project from local bare repository [message #669327] |
Mon, 09 May 2011 18:55  |
Eclipse User |
|
|
|
I have a local repository, which is a bare repository. I need to be able to do the same thing I can do in command line in egit (eclipse). via command line, I can clone the repository (bare) add files, etc, commit, and push the changes.
Can egit do this? From my experience and messing around with egit for over 2 hours and reading some of the documentation, I can't seem to get this to work.
Overall question:
How do I create/import a project as/from a bare git repository?
|
|
|
|
|
|
Re: Project from local bare repository [message #669535 is a reply to message #669454] |
Tue, 10 May 2011 11:49  |
Eclipse User |
|
|
|
Paul Webster wrote on Tue, 10 May 2011 07:48On 05/09/2011 06:55 PM, Drew Decker wrote:
> I have a local repository, which is a bare repository. I
> need to be able to do the same thing I can do in command
> line in egit (eclipse). via command line, I can clone the
> repository (bare) add files, etc, commit, and push the
> changes.
You would clone a repo in the Git Repositories view from the bare repo
(don't use Add Local Repo on the bare repo). Then when you create your
project, and instead of using the default location use a subdir of your
cloned repo.
From there, you are able to commit your changes and push them to the
bare repo.
PW
--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Platform_Expression_Framework
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse. platform.doc.isv/guide/workbench.htm
This worked perfectly thanks!
[Updated on: Tue, 10 May 2011 11:49] by Moderator
|
|
|
Powered by
FUDForum. Page generated in 0.06942 seconds