Crates.io | scm-record |
lib.rs | scm-record |
version | 0.3.0 |
source | src |
created_at | 2023-08-19 21:07:08.85591 |
updated_at | 2024-05-26 22:45:53.71704 |
description | UI component to interactively select changes to include in a commit. |
homepage | |
repository | https://github.com/arxanas/git-branchless |
max_upload_size | |
id | 948906 |
size | 447,691 |
MIT OR Apache-2.0
scm-record
is a UI component to interactively select changes to include in a commit. It's meant to be embedded in source control tooling.
You can think of this as an interactive replacement for git add -p
, or a reimplementation of hg crecord
/hg commit -i
. Given a set of changes made by the user, this component presents them to the user and lets them select which of those changes should be staged for commit.
scm-record
was originally developed as a supporting library for
git-branchless.
The scm-diff-editor
binary is available when compiled with --features scm-diff-editor
.
This is a standalone binary that uses the scm-record
library as a front-end, and can be integrated directly into some source control systems:
git-difftool(1)
. Only supports viewing diffs, not editing them.git record -i
command lets you interactively select and commit changes.extdiff
extension. Only supports viewing diffs, not editing them.ui.diff-editor=":builtin"
.Here's some projects that don't use scm-record
, but could benefit from integration with it (with your contribution):
Here are some features in the UI which are not yet implemented: