On Tue, Mar 10, 2015 at 6:03 PM, Sudhanshu Shekhar
wrote:
> [PATCH v3 1/2] reset: enable '-' short-hand for previous branch
This should be v4, I think, not v3.
> git reset -' will reset to the previous branch. It will behave similar
> to @{-1} except when a file named
git reset -' will reset to the previous branch. It will behave similar
to @{-1} except when a file named '@{-1}' is present. To refer to a file
named '-', use ./- or the -- flag.
Helped-by: Junio C Hamano
Helped-by: Eric Sunshine
Helped-by: Matthieu Moy
Signed-off-by: Sudhanshu Shekhar
---
Eri
git reset -' will reset to the previous branch. It will behave similar
to @{-1} except when a file named '@{-1}' is present. To refer to a file
named '-', use ./- or the -- flag.
Helped-by: Junio C Hamano
Helped-by: Eric Sunshine
Helped-by: Matthieu Moy
Signed-off-by: Sudhanshu Shekhar
---
Eri
On Tue, Mar 10, 2015 at 6:52 AM, Sudhanshu Shekhar
wrote:
> 'git reset -' will reset to the previous branch. It will behave similar
> to @{-1} except when a file named '@{-1}' is present. To refer to a file
> named '-', use ./- or the -- flag.
>
> Helped-by: Junio C Hamano
> Helped-by: Eric Sunsh
Sudhanshu Shekhar writes:
> *rev_ret = rev;
> -
> if (read_cache() < 0)
Please don't make whitespace-only changes like this in your patches.
--
Matthieu Moy
http://www-verimag.imag.fr/~moy/
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message t
'git reset -' will reset to the previous branch. It will behave similar
to @{-1} except when a file named '@{-1}' is present. To refer to a file
named '-', use ./- or the -- flag.
Helped-by: Junio C Hamano
Helped-by: Eric Sunshine
Helped-by: Matthieu Moy
Signed-off-by: Sudhanshu Shekhar
---
Th
6 matches
Mail list logo