Get the latest tech news

Git-absorb: Git commit –fixup, but automatic


git commit --fixup, but automatic. Contribute to tummychow/git-absorb development by creating an account on GitHub.

Facebook demoed hg absorb which is probably the coolest workflow enhancement I've seen to version control in years. Alternatively, you can check its output manually if you don't trust it, and then fold the fixups into your feature branch with git's built-in functionality: implement force flag implement remote default branch check add smaller force flags to disable individual safety checks stop using failure::err_msg and ensure all error output is actionable by the user slightly more log output in the success case more tests (esp main module and integration tests) document stack and commute details more commutation cases (esp copy/rename detection) don't load all hunks in memory simultaneously because they could be huge implement some kind of index locking to protect against concurrent modifications

Get the Android app

Or read this on Hacker News

Read more on:

Photo of git commit

git commit

Photo of fixup

fixup

Photo of absorb

absorb

Related news:

News photo

Creating a Git Commit: The Hard Way