[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: VC mode and git
From: |
Eli Zaretskii |
Subject: |
Re: VC mode and git |
Date: |
Fri, 27 Mar 2015 16:34:42 +0300 |
> Date: Fri, 27 Mar 2015 09:25:54 -0400
> From: Richard Stallman <address@hidden>
> CC: address@hidden, address@hidden, address@hidden,
> address@hidden, address@hidden
>
> > Maybe you should try something like:
>
> > git push || git reset HEAD^
>
> What does git reset HEAD^ do?
It uncommits the last commit, but leaves your changes in the working
tree, essentially returning you back to the situation before you
committed.
> Is it reliable?
It never failed me, although I needed to use it only rarely, when my
last commit had a mistake that I detected before pushing upstream.
But I'll defer to the experts for the definitive opinions about its
reliability.
- Re: VC mode and git, (continued)
- Re: VC mode and git, Richard Stallman, 2015/03/26
- Re: VC mode and git, Andreas Schwab, 2015/03/26
- Re: VC mode and git, Tassilo Horn, 2015/03/26
- Re: VC mode and git, Eli Zaretskii, 2015/03/26
- Re: VC mode and git, Dmitry Gutov, 2015/03/26
- Re: VC mode and git, Eli Zaretskii, 2015/03/26
- Re: VC mode and git, Richard Stallman, 2015/03/27
- Re: VC mode and git,
Eli Zaretskii <=
- Re: VC mode and git, Richard Stallman, 2015/03/28
- Re: VC mode and git, Eli Zaretskii, 2015/03/28
- Re: VC mode and git, Stefan Monnier, 2015/03/28
- Re: VC mode and git, Richard Stallman, 2015/03/26
- Re: VC mode and git, Eli Zaretskii, 2015/03/27
- Re: VC mode and git, Stefan Monnier, 2015/03/27
- Re: VC mode and git, Eli Zaretskii, 2015/03/27
- Re: VC mode and git, Stefan Monnier, 2015/03/27
- Re: VC mode and git, Eli Zaretskii, 2015/03/27
- Re: VC mode and git, Tak Kunihiro, 2015/03/27