This has drawback as it uses console redirection so it depends on the console output. On Windows PowerShell has some issues<http://stackoverflow.com/questions/13675782/git-shell-in-windows-patchs-default-character-encoding-is-ucs-2-little-endian> with output encoding. I guess it will work just fine on Ubuntu, however I should test it to make sure it works for non-english language encodings.
On Friday, May 3, 2013 3:24:50 AM UTC+3, Dale Worley wrote: > > > > Is there a git porcelain command to revert the working dir state of a > > > staged file to its HEAD state and at the same time keep the staged > state of > > > the file? > > git show HEAD:$FILE >$FILE > > Dale > -- 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
