Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit » Adding origin
Adding origin [message #514011] Fri, 12 February 2010 00:07 Go to next message
Lars Vogel is currently offline Lars Vogel
Messages: 1048
Registered: July 2009
Senior Member

Hi,

can I add an orgin with EGit similar to the following command line?

git remote add origin git@github.com:vogella/de.vogella.git.github.git

Cheers, Lars

--
http://www.vogella.de/ - Eclipse plugin and Eclipse RCP Tutorials
http://www.twitter.com/vogella - vogella on Twitter
Re: Adding origin [message #516282 is a reply to message #514011] Tue, 23 February 2010 08:50 Go to previous messageGo to next message
Christian Halstrick is currently offline Christian Halstrick
Messages: 99
Registered: July 2009
Member
Hi,

currently you can't do that from the plugin. You have to use command line tools or edit your .git/config file directly. When you fetch or push with the plugin you can specify a custom URL (here you could enter your github url) but AFAIK this URL is not persisted and the next time you want to contact the same remote again you would have to specify the URL again.

Ciao
Chris
Re: Adding origin [message #517702 is a reply to message #516282] Mon, 01 March 2010 13:42 Go to previous message
Lars Vogel is currently offline Lars Vogel
Messages: 1048
Registered: July 2009
Senior Member

Hi Chris,

thanks for the info. I did open Bug
https://bugs.eclipse.org/bugs/show_bug.cgi?id=304182 for this feature
request.

Cheers, Lars


On 23.02.2010 05:50, Chris wrote:
> Hi,
>
> currently you can't do that from the plugin. You have to use command
> line tools or edit your .git/config file directly. When you fetch or
> push with the plugin you can specify a custom URL (here you could enter
> your github url) but AFAIK this URL is not persisted and the next time
> you want to contact the same remote again you would have to specify the
> URL again.
>
> Ciao
> Chris
Re: Adding origin [message #577717 is a reply to message #514011] Tue, 23 February 2010 08:50 Go to previous message
Christian Halstrick is currently offline Christian Halstrick
Messages: 99
Registered: July 2009
Member
Hi,

currently you can't do that from the plugin. You have to use command line tools or edit your .git/config file directly. When you fetch or push with the plugin you can specify a custom URL (here you could enter your github url) but AFAIK this URL is not persisted and the next time you want to contact the same remote again you would have to specify the URL again.

Ciao
Chris


Ciao
Chris
Re: Adding origin [message #577743 is a reply to message #577717] Mon, 01 March 2010 13:42 Go to previous message
Lars Vogel is currently offline Lars Vogel
Messages: 1048
Registered: July 2009
Senior Member

Hi Chris,

thanks for the info. I did open Bug
https://bugs.eclipse.org/bugs/show_bug.cgi?id=304182 for this feature
request.

Cheers, Lars


On 23.02.2010 05:50, Chris wrote:
> Hi,
>
> currently you can't do that from the plugin. You have to use command
> line tools or edit your .git/config file directly. When you fetch or
> push with the plugin you can specify a custom URL (here you could enter
> your github url) but AFAIK this URL is not persisted and the next time
> you want to contact the same remote again you would have to specify the
> URL again.
>
> Ciao
> Chris
Previous Topic:Linux permissions issue
Next Topic:0.7-dev update site
Goto Forum:
  


Current Time: Sat Aug 23 07:43:34 EDT 2014

Powered by FUDForum. Page generated in 0.01666 seconds