git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Add porcelain command to revert a single staged file to its HEAD state while preserving its staged state
@ 2013-05-04  7:34 Dimitar Bonev
  2013-05-04  8:58 ` Thomas Rast
  0 siblings, 1 reply; 10+ messages in thread
From: Dimitar Bonev @ 2013-05-04  7:34 UTC (permalink / raw)
  To: git

Hi,

I have been looking for such a command/option and no one gave me
sufficient answer. So this message should be considered as a feature
request. I had a situation where I had staged a file with a problem
solution in it, then I wanted to experiment with a different solution
so I had to revert the file to its HEAD state and I couldn't find a
way that preserves the staged state of that file. More discussions:

https://groups.google.com/forum/?fromgroups=#!topic/git-users/nYiN-rE_3i0

http://stackoverflow.com/questions/16335799/git-porcelain-command-to-revert-a-single-file-to-its-head-state-but-keep-its-sta

Regards,
Dimitar Bonev

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2013-05-07 20:39 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-04  7:34 Add porcelain command to revert a single staged file to its HEAD state while preserving its staged state Dimitar Bonev
2013-05-04  8:58 ` Thomas Rast
2013-05-04 11:13   ` Dimitar Bonev
2013-05-04 18:48     ` Jonathan Nieder
2013-05-04 19:56   ` Junio C Hamano
2013-05-04 20:01     ` Junio C Hamano
2013-05-04 22:46       ` Dimitar Bonev
2013-05-06  9:51         ` Thomas Rast
2013-05-06 14:52         ` Junio C Hamano
2013-05-07 20:39           ` Dimitar Bonev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).