Thread (1 message) 1 message, 1 author, 2016-06-15

Re: reverting initial commit

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:46:28

Pascal Obry [off-list ref] writes:
Junio C Hamano a écrit :
quoted
That's not even an revert.  
Right.
quoted
Can't you simply amend it away?

	$ git rm not-this-file
        $ git commit --amend
Right, I've done that. But the fact that un-committing the initial
commit was not possible seemed strange to me. At least the error message
should be clearer, don't you think?
"You said HEAD^ but there is no such thing?  What are you talking about?"

That sounds clear enough to me, but if you have a patch to improve it,
please send it in.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help