Re:Git-number: Use numbers for dealing with files in git
by Argorak on Wednesday January 25, 2012 @11:55AM
(#3510483)
Close, but not truly the same. In interactive mode, darcs hands you every change it can find and asks you what to do with it (including reverting the change). So, if i added a file using `touch`, deleted one using `rm` (but not `git rm`), added a debug statement to a file and a change in another, the workflow would be the following:
* Add file foo: Ynr? Y
* Remove file bar: Ynr? n
* Add debug statement? r #revert, I don't need it anyways
* Add change xyz? n # I want this in another commit
Its a real handy way to iterate over _all_ changes in your repos that it finds. I used it heavily to review all my changes before committing them as multiple patches.
* Add file foo: Ynr? Y * Remove file bar: Ynr? n * Add debug statement? r #revert, I don't need it anyways * Add change xyz? n # I want this in another commit
Its a real handy way to iterate over _all_ changes in your repos that it finds. I used it heavily to review all my changes before committing them as multiple patches.