Giter VIP home page Giter VIP logo

scm-record's Introduction

License

MIT OR Apache-2.0

scm-record

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.

scm-diff-editor

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:

Integration with other projects

Here's some projects that don't use scm-record, but could benefit from integration with it (with your contribution):

Feature wishlist

Here are some features in the UI which are not yet implemented:

  • Make the keybindings easier to discover, allow accessing the menu with the keyboard.
  • Jump to next/previous element of same kind.
  • Edit one side of the diff in an editor.
  • Multi-way split UI to split a commit into more than 2 commits.
  • Support for use as a mergetool.
  • Commands to select ours/theirs for diffs representing merge conflicts.

scm-record's People

Contributors

arxanas avatar dependabot[bot] avatar martinvonz avatar emesterhazy avatar ilyagr avatar martindisch avatar avamsi avatar

Stargazers

Lippp avatar Vincent Ihab avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.