Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 355851 - Ask which branch to push
Summary: Ask which branch to push
Status: RESOLVED FIXED
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: 1.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-25 10:38 EDT by Christian Campo CLA
Modified: 2016-10-22 18:32 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Campo CLA 2011-08-25 10:38:04 EDT
By default the system pushes all branches when you push to upstream. You can configure push so that it only pushes certain refspecs i.e. certain branches, tags etc...

It would be really helpful, if I could configure to:

- be asked each time if that is what I want this time
- be asked which branch to push (with a good suggestion i.e. the current local branch)

because my intention on what to push might change very frequently sometimes and its cumbersome to always change the config.
Comment 1 Sabine Achilles CLA 2011-08-25 10:43:40 EDT
I would like that. I already pushed my local branch to upstream on multiple occasions ... embarrassing :)
Comment 2 Remy Suen CLA 2011-08-25 13:33:55 EDT
(In reply to comment #0)
> - be asked each time if that is what I want this time

You can tweak it if you go the long way through 'Team > Remote... > Push'. Well, unless that wizard is the thing you're trying to streamline...

(In reply to comment #1)
> I would like that. I already pushed my local branch to upstream on multiple
> occasions ... embarrassing :)

You want bug 352381.
Comment 3 Matthias Sohn CLA 2016-10-22 18:32:20 EDT
"Push branch" allows to push any branch you want to push