Re: reverting vs resetting

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

Re: reverting vs resetting

From: Matthieu Moy <hidden>
Date: 2016-06-15 22:48:11

Junio C Hamano [off-list ref] writes:
	git branch andy_failed_experiment
        git reset --hard HEAD~50
	;# and perhaps revert Bob's change here as well
So would I, and to complement Junio's answer: keeping a failure
followed by a repair means this experiment will appear more or less
forever in the output of "git log", "git blame", will break "git
bisect" on that part of history, and so on. Putting it on a separate
branch avoids this, and keeps it in a safe place to show newcommers:
"see, here's what you should not do" ;-).

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/

Re: reverting vs resetting

From: Mihamina Rakotomandimby <hidden>
Date: 2016-06-15 22:48:11

Matthieu Moy [off-list ref] :
So would I, and to complement Junio's answer
Thank you all.

-- 
       Architecte Informatique chez Blueline/Gulfsat:
    Administration Systeme, Recherche & Developpement
                +261 34 29 155 34 / +261 33 11 207 36
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help