package git-split
A tool to split a git commit into multiple
Install
Dune Dependency
Authors
Maintainers
Sources
0.0.3.tar.gz
md5=e8e6c120eb26e68b28d66a6079007d0e
sha512=2240390189f8f4e829849de8be6556b365d2e9f1eb39c2c6038b506a33a0ac9236e784668df3ea33379465c904d1e261aec9a2b3e43925f341e06d370ddc6cc8
README.md.html
git split
TUI-based commit splitting tool for git.
Why?
For those of us who like keeping their commit history clean, sometimes it may happen that a single commit ends up containing more functionality than we'd like. For these cases the main solution is to do a soft reset on the commit and start using git add -p
to pick what you want in your commit, leaving the rest for another commit. That tool operates mostly on a hunk-by-hunk basis and when you'd like to go for line-by-line adding, the UX gets pretty bad, which led me to build this.
NB!
The goal of this project was to learn OCaml, so if you are an OCaml expert reading this and despairing at the code quality, feel free to open a discussion with improvement suggestions.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>