Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 319975 - Different url for clone and push
Summary: Different url for clone and push
Status: RESOLVED FIXED
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-15 08:28 EDT by Milen Manov CLA
Modified: 2010-07-16 07:44 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Milen Manov CLA 2010-07-15 08:28:14 EDT
I am using a remote git depo and I would like to sych through git protocol but push through ssh. Now for every push I have to set-up a custom URI.
Comment 1 Stefan Lay CLA 2010-07-16 07:44:09 EDT
Please have a look at http://wiki.eclipse.org/EGit/User_Guide#Remote_Repositories

You have two options to achieve the desired behaviour:

- You can create a direct push support on your existing remote repo (see "Direct Fetch and Push Support")
- You can even create a new remote only for pushing. Then you can easily choose in the push dialog which remote you want to push to.

Btw.: Your scenario is exactly the same that is used by the EGit/JGit team.