git-branchless icon indicating copy to clipboard operation
git-branchless copied to clipboard

Implement an interactive `git split` command

Open bcongdon opened this issue 3 years ago • 2 comments

As discussed in #48.

Note: Depending on how this is implemented, we may need a git stage command as a prerequisite for this

bcongdon avatar Oct 29 '21 14:10 bcongdon

Note: I tried using the equivalent of git merge-tool, and while it seems powerful, I think it's sufficiently difficult to use without training that we shouldn't use it for splitting/staging commits by default.

Re git stage in particular, I suppose that ideally we wouldn't have that command at all and we would never touch the staging area ourselves, and instead rely on commands like git split and some kind of git commit --interactive command to accomplish partial commits. But you already get the idea about the interface for all three of these being the same.

arxanas avatar Oct 29 '21 17:10 arxanas