Assume the following scenario:
file a and b both changed, and a is placed in the index. If you run git stash and then git stash pop , file a will no longer be installed.
a
b
git stash
git stash pop
How do you do git stash to return an index to a previous state?
If I understand correctly, I think you just need to:
git stash pop --index
Source: https://habr.com/ru/post/1338334/More articles:Helping Kohana 3 ORM speed up a bit - kohana-3Printing to an Epson TM-T88V Printer with iOS / iPad Using CUPS or a Different Structure - iosHow to extract variables get - variablesSWIG passes stream from python to C ++ - c ++Twisted: Communicate between a deferred subprocess and HTTP requests? - pythonmysql_real_escape_string for multibyte without connection? - phpUnable to enable DTrace tests via jinfo on Mac OS X - javaC (or C ++?) Syntax: STRUCTTYPE varname = {0}; - c ++SoapHttpClientProtocol extension to fix a failed Content-Length server - c #How to rename data using Linq based on the layout of elements? - c #All Articles