Re: [PATCH] git-revert is one of the most misunderstood command in git, help users out. From: J. Bruce Fields <hidden> Date: 2016-06-15 22:43:47 On Mon, Nov 05, 2007 at 08:04:11PM +0100, Pierre Habouzit wrote:On Mon, Nov 05, 2007 at 07:01:41PM +0000, Pierre Habouzit wrote:quoted+ if (!lstat(name, &st)) { + die("Cannot find commit '%s', did you meant: " s/meant/mean/ quoted+ "git checkout HEAD -- '%s'", arg, arg); + } else { + die("Cannot find commit '%s'", arg); + } + } --b.
Keyboard shortcuts hback out one level jnext message in thread kprevious message in thread ldrill in Escclose help / fold thread tree ?toggle this help