Published at LXer:
Occasionally, when using the version control system Git, you may find yourself committing a file you didn't intend to. For example, you might want to commit two files separately, with different log messages (making it easier to roll back unconnected changes separately), but accidentally use the usually helpful shortcut git commit -a and commit both at once.
Read More...