Re: Proposal: create meaningful aliases for git reset's hard/soft/mixed

2012-12-18 Thread Jeff King
On Mon, Dec 17, 2012 at 10:34:07PM -0800, Martin von Zweigbergk wrote: > On Wed, Nov 23, 2011 at 10:51 AM, Junio C Hamano wrote: > > > > I am guilty of introducing "git reset --soft HEAD^" before I invented > > "commit --amend" during v1.3.0 timeframe to solve the issue "soft" reset > > originall

Re: Proposal: create meaningful aliases for git reset's hard/soft/mixed

2012-12-18 Thread Junio C Hamano
Martin von Zweigbergk writes: > On Wed, Nov 23, 2011 at 10:51 AM, Junio C Hamano wrote: >> >> I am guilty of introducing "git reset --soft HEAD^" before I invented >> "commit --amend" during v1.3.0 timeframe to solve the issue "soft" reset >> originally wanted to. > > I do use "commit --amend" a

Re: Proposal: create meaningful aliases for git reset's hard/soft/mixed

2012-12-17 Thread Martin von Zweigbergk
On Wed, Nov 23, 2011 at 10:51 AM, Junio C Hamano wrote: > > I am guilty of introducing "git reset --soft HEAD^" before I invented > "commit --amend" during v1.3.0 timeframe to solve the issue "soft" reset > originally wanted to. I do use "commit --amend" a lot, but I still appreciate having "rese

Re: Proposal: create meaningful aliases for git reset's hard/soft/mixed

2012-12-17 Thread Martin von Zweigbergk
On Wed, Nov 23, 2011 at 12:49 AM, Matthieu Moy wrote: > Philippe Vaucher writes: > >> Optional: a new mode would be introduced for consistency: >> --worktree (or maybe --tree): only updates the worktree but not the index > > That would be an alias for "git checkout -- path", right? Not quite, i

Re: Proposal: create meaningful aliases for git reset's hard/soft/mixed

2012-12-15 Thread Jan Engelhardt
On Wednesday 2012-10-03 21:03, Junio C Hamano wrote: > >I said that "git reset --keep" started out as an ugly workaround for >the lack of "git checkout -B $current_branch". Now we have it, so >we can afford to make "reset --keep" less prominently advertised in >our tool set. As I already said ba

Re: Proposal: create meaningful aliases for git reset's hard/soft/mixed

2012-10-03 Thread Junio C Hamano
Junio C Hamano writes: > Phil Hord writes: > >> I flagged this for followup in my MUA, but I failed to follow-up after >> the holidays. I apologize for that, and I really regret it because I >> liked where this was going. > > I really regret to see you remembered it, actually. Having said that,

Re: Proposal: create meaningful aliases for git reset's hard/soft/mixed

2012-10-03 Thread Junio C Hamano
Phil Hord writes: > I flagged this for followup in my MUA, but I failed to follow-up after > the holidays. I apologize for that, and I really regret it because I > liked where this was going. I really regret to see you remembered it, actually. >> 1) Newbie user clones/pulls a repository from so

Re: Proposal: create meaningful aliases for git reset's hard/soft/mixed

2012-10-03 Thread Phil Hord
On Tue, Dec 6, 2011 at 2:34 AM, Philippe Vaucher wrote: >> Think about why you need to use git-reset. Why do new users need to >> use git-reset? What is it they are after? > > Ok, so let's forget about git reset and let's focus on the features > instead. If I got it right you suggested the featu