Skip to main content



      Home
Home » Eclipse Projects » EGit / JGit » Adding origin
Adding origin [message #514011] Fri, 12 February 2010 00:07 Go to next message
Eclipse UserFriend
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
Eclipse UserFriend
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
Eclipse UserFriend
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
Eclipse UserFriend
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 #577743 is a reply to message #577717] Mon, 01 March 2010 13:42 Go to previous message
Eclipse UserFriend
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: Wed Jul 23 08:18:21 EDT 2025

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

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

Back to the top