Hi, I want to create "git-amend-commit" to be able to amend commits before HEAD. So I need to check whether the commit I'm going to amend is ascendent of HEAD. Is there any way to check that? -- Duy - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html