Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » Adding origin
Adding origin [message #514011] Fri, 12 February 2010 05:07 Go to next message
Lars Vogel is currently offline Lars VogelFriend
Messages: 1098
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 13:50 Go to previous messageGo to next message
Christian Halstrick is currently offline Christian HalstrickFriend
Messages: 274
Registered: July 2009
Senior 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 18:42 Go to previous message
Lars Vogel is currently offline Lars VogelFriend
Messages: 1098
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 13:50 Go to previous message
Christian Halstrick is currently offline Christian HalstrickFriend
Messages: 274
Registered: July 2009
Senior 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 18:42 Go to previous message
Lars Vogel is currently offline Lars VogelFriend
Messages: 1098
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: Fri Apr 19 06:15:33 GMT 2024

Powered by FUDForum. Page generated in 0.01982 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top