Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 356723

Summary: Allow configuring of remote urls for a local branch
Product: [Technology] EGit Reporter: Manuel Doninger <manuel.doninger>
Component: CoreAssignee: Project Inbox <egit.core-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: robin
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Manuel Doninger CLA 2011-09-05 07:15:35 EDT
Build Identifier: 

If you create a local branch, and push this branch later, there is no possibility to create a remote url configuration, which is needed for the Team Project Set export.
In the .git/config file you need an entry like this for the PSF export:


[branch "localbranch"]
        remote = origin
        merge = refs/heads/branch

EGit should provide a UI to configure those remote (maybe it's possible with the Configure Push to Upstream wizard to create this configuration).

Reproducible: Always
Comment 1 Robin Stocker CLA 2012-05-09 06:58:34 EDT
It's possible since this change: https://git.eclipse.org/r/#/c/5047/

But it should be possible to configure this when pushing a branch for the first time. I opened bug 378960 about this.