Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [egit-dev] Let's debate about "Commit and Push" behaviour

On 9 Aug 2014, at 00:08, Matthias Sohn <matthias.sohn@xxxxxxxxx> wrote:

> How about the following (using first matching rule) ?
> - if local branch tracks a remote branch default to the tracked remote branch
> - if global push refspec is defined it defines the default
> - otherwise default to last-used

I think there’s danger of this becoming a little too magic. Why not have a drop-down (like the Run button does) of alternative options, so that you can choose appropriately?

[Commit and Push] (v)
               to remote tracking branch
               to previous refspec

Alex

Back to the top