Git development
 help / color / mirror / Atom feed
* Question about removing changes from the index
@ 2009-02-06 13:57 Gustav Hållberg
  2009-02-06 14:09 ` Björn Steinbrink
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Gustav Hållberg @ 2009-02-06 13:57 UTC (permalink / raw)
  To: git

I'm wondering if there's anyone who can recommend a smart way to
"reset" the index entry for individual files to the contents of HEAD,
in effect, removing any previous change between HEAD and the index
(for those files).

I'm aware that 'git gui' lets you do this (in a human-friendly way)
but I want to do this from a script (and am not concerned about the
human-friendliness, as long as it's not too programmer-unfriendly).

Thanks,
Gustav

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

end of thread, other threads:[~2009-02-06 14:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-06 13:57 Question about removing changes from the index Gustav Hållberg
2009-02-06 14:09 ` Björn Steinbrink
2009-02-06 14:51   ` Gustav Hållberg
2009-02-06 14:11 ` Matthieu Moy
2009-02-06 14:14 ` Sitaram Chamarty

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox