0

I'm trying to clean up my repository. Since I'm committing my changes very often, to be sure, I have many changes that were committed seperately but belong together. Is it possible to join multiple committed revisions (in the same repository) in the revision log?

bahrep
  • 29,961
  • 12
  • 103
  • 150
user2154171
  • 145
  • 1
  • 1
  • 8

1 Answers1

1

I believe the straight answer is no, but this is a workaround:

  1. Manually put together the commit comments from your desired range
  2. Make a copy of the updated repository
  3. Revert to the latest revision before your desired range
  4. Merge that revision to HEAD (Read the "Undoing changes" section in this page for more info)
  5. Commit your copy from step 2 and insert the comments
ystan-
  • 1,474
  • 1
  • 19
  • 43