Next | 38 |
Why is this good? Why not just commit the working tree?
Suppose you were adding some code about foozles
perl-lib/Role/CanFoozle.pm perl-lib/Foozle/Basic.pm t/foozle/basic.t t/foozle/woozle.t doc/foozles.pod
In the course of this you modified the penguin manager also:
perl-lib/PenguinMgr.pm t/penguin_mgr/swim.t doc/penguins.pod
Now you want to record two commits: one for the foozles, one for the penguins
Easy:
Add the foozle changes to the index, and record a commit
Then add the penguin changes to the index and record another commit
Next | Copyright © 2010 M. J. Dominus |