Am Mittwoch, 23. September 2009 14:26:30 schrieb Shakthi Kannan: > Common! You didn't go through my presentation? :) > http://shakthimaan.com/downloads/glv/presentations/di-git-ally-managing-lov > e-letters.pdf
While that's a great idea for presenting version control, it clearly shows one of the problems of the git UI: I have to remember to use diff in 3 modes: git diff git diff --cached git diff HEAD ... so, which one do I really need? I assume it's: git diff -> what changes *to tracked files* I didn't yet add git diff --cached -> what added changes I didn't yet commit git diff HEAD -> how my working repository differs from the latest commit. But that's essentially 3 different commands I need to keep in mind to see the state of my changes. In Mercurial that's far simpler, because it doesn't use an index as in between staging area: "hg diff" shows you what will be committed when you use "hg commit". You can then tell it to compare other revisions, but the default usage is clear and simple. "hg help diff" will tell you the additional options :-) Best wishes, Arne --- --- --- --- --- --- --- --- --- Unpolitisch sein heißt politisch sein, ohne es zu merken. - Arne (http://draketo.de) --- --- --- --- --- --- --- --- ---
signature.asc
Description: This is a digitally signed message part.