|Version 1 (modified by 9 years ago) (diff),|
Git for Darcs Users
Git supports interactive recording very similar to darcs.
git add -p
git add -i
The main difference is that Git does not automatically commit the changes. You have to do that manually using
git commit [-m "commit message"]
If you do not supply a commit message, it will open your default editor. If you want to abort the commit, use an empty commit message.
Tip: If you want to see the diff when you edit the commit message, use
git commit -v
darcs record -a
git commit -a
This will add and commit all (not ignored) files.
darcs changes --last <N>
git log -n <N>
darcs changes --summary
git log --stat
git log --help for a lot of extra options, to refine the output.