Git: Merging last few commits into one
Git has robust support for rewriting commit logs. This is a big help when you are changing stuff in small incremental changes and still need ability to consolidate them when you are satisfied at a feature level.
Such commit changes (log rewrites) should be performed before the changes are pushed to remote repository. Here is a quick reminder of the command that I almost forgot:
git rebase --interactive ID # where ID is the first 5 or so characters of the commit from which to start the change process.
Git is fun!
No related posts.
Related posts brought to you by Yet Another Related Posts Plugin.





