On Saturday, April 22, 2017 at 4:50:41 PM UTC+3, Philip Oakley wrote: > > If i understood the initial statement your have two different seqences of > commands and their interaction isn't as expected. but I couldn't decide > what the specific sequence were. > > Would you ab able to show a short test case, even just use a comment to > indcate initial state, and then the different commands and what you see as > different. >
Yes, you are right. Here is a simple test case: mkdir test cd test git init touch xxx git add xxx git commit -m xxx touch yyy git add yyy git commit -m yyy git reset HEAD^ git reset @{1} git reset --hard This is different because yyy will be touched: git reset HEAD^ git reset --hard @{1} I believe these two cases should be no different at all. Anyway, that's what the docs say, at least as I understand it. -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.