Hey,

On Wednesday 19 August 2009 18:23:03 Barry Roberts wrote:

> I've looked through the docs and even the source, but I can't find a
> way inmagit to undo all the changes to an edited tracked file
> (basically a shortcut for git checkout HEAD -- filename). Is it not
> there, or can I just not find it?

'k' is the global 'delete/undo' key depending on point. If point is
e.g. on an untracked file then magit will offer to delete the file. If
point is on a change then magit will undo those changes and indeed call
'checkout HEAD -- filename'.

Regards,
Mosu

-- 
If Darl McBride was in charge, he'd probably make marriage
unconstitutional too, since clearly it de-emphasizes the commercial
nature of normal human interaction, and probably is a major impediment
to the commercial growth of prostitution. - Linus Torvalds

Reply via email to