Re: [PATCH] git push --track

4 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: [PATCH] git push --track

From: Miles Bader <hidden>
Date: 2016-06-15 22:48:01

Tay Ray Chuan [off-list ref] writes:
before I put up my comments on the patch, I wonder if git-push is the
best place to add this feature, as git-push usually deals with
"pushing" data to another repo.

I think git-branch would be a better place to do this.
No.  I think push is absolutely the right place to do it.

I very often create local branches and only later decide that I'd also
like to push them to a remote -- but just as often, or more often, I
never do so.  It would be extremely annoying if I had to make that
decision at branch-time.

-Miles

-- 
Pray, v. To ask that the laws of the universe be annulled in behalf of a
single petitioner confessedly unworthy.

Re: [PATCH] git push --track

From: Tay Ray Chuan <hidden>
Date: 2016-06-15 22:48:01

Hi,

On Thu, Jan 14, 2010 at 9:35 AM, Miles Bader [off-list ref] wrote:
Tay Ray Chuan [off-list ref] writes:
quoted
before I put up my comments on the patch, I wonder if git-push is the
best place to add this feature, as git-push usually deals with
"pushing" data to another repo.

I think git-branch would be a better place to do this.
No.  I think push is absolutely the right place to do it.

I very often create local branches and only later decide that I'd also
like to push them to a remote -- but just as often, or more often, I
never do so.  It would be extremely annoying if I had to make that
decision at branch-time.
I'm not saying that the feature should belong to git-branch and so you
have to make this decision at branch time - I'm saying that since this
has got to do with modifying branches (sort of), it should be in
there.

-- 
Cheers,
Ray Chuan

Re: [PATCH] git push --track

From: Miles Bader <hidden>
Date: 2016-06-15 22:48:01

On Thu, Jan 14, 2010 at 10:37 AM, Tay Ray Chuan [off-list ref] wrote:
quoted
I very often create local branches and only later decide that I'd also
like to push them to a remote -- but just as often, or more often, I
never do so.  It would be extremely annoying if I had to make that
decision at branch-time.
I'm not saying that the feature should belong to git-branch and so you
have to make this decision at branch time - I'm saying that since this
has got to do with modifying branches (sort of), it should be in
there.
I, and it appears other people, want to make this association at
push-time -- that's almost always when I make the decision "I'd like
to track this" -- so the most convenient and intuitive thing would be
to have a --track option to push.

Of course there could _also_ be some sort of branch sub-command (or
another command) to setup or change tracking state without pushing.
But "push --track" is more important for normal usage I think.

-miles

-- 
Do not taunt Happy Fun Ball.

Re: [PATCH] git push --track

From: Tay Ray Chuan <hidden>
Date: 2016-06-15 22:48:01

On Thu, Jan 14, 2010 at 9:49 AM, Miles Bader [off-list ref] wrote:
I, and it appears other people, want to make this association at
push-time -- that's almost always when I make the decision "I'd like
to track this" -- so the most convenient and intuitive thing would be
to have a --track option to push.

Of course there could _also_ be some sort of branch sub-command (or
another command) to setup or change tracking state without pushing.
But "push --track" is more important for normal usage I think.
Ok, I see your point.

-- 
Cheers,
Ray Chuan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help