Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 356723 - Allow configuring of remote urls for a local branch
Summary: Allow configuring of remote urls for a local branch
Status: RESOLVED FIXED
Alias: None
Product: EGit
Classification: Technology
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-05 07:15 EDT by Manuel Doninger CLA
Modified: 2012-05-09 06:58 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 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.