Skip to main content

About

git-crecord is a Git subcommand which allows users to interactively select changes to commit or stage using a ncurses-based text user interface. It is a port of the Mercurial crecord extension originally written by Mark Edgington.

Screenshot of git-crecord in action

git-crecord allows you to interactively choose among the changes you have made (with line-level granularity), and commit, stage or unstage only those changes you select. After committing or staging the selected changes, the unselected changes are still present in your working copy, so you can use crecord multiple times to split large changes into several smaller changesets.

Installation

git-crecord assumes you have Python 3.9 or later installed as /usr/bin/python3.

git-crecord ships with a setup.py installer based on setuptools. To install git-crecord, simply type:

./setup.py install

This will install git-crecord itself, its manpage and this README file into their proper locations.

Alternatively, to install it manually, symlink git-crecord into the directory where Git can find it, which can be a directory in your $PATH:

ln -s $PWD/git-crecord ~/.local/bin/git-crecord

Now you should have a new subcommand available for you.

When you’re ready to commit some of your changes, type:

git crecord

This will bring up a window where you can view all of your changes, and select/de-select changes. You can find more information on how to use it in the built-in help (press the ‘?’ key).

git crecord supports most popular options of git commit: --author=, --date=, --message=, --amend, --signoff.

License

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License version 2 text for more details.

You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

Authors

For the list of contributors, see CONTRIBUTORS.

Metadata

Release files for git-crecord 20230226.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for git-crecord 20230226.0
File Size Uploaded
git-crecord-20230226.0.tar.gz 81.6 kB Details

Release files / git-crecord-20230226.0.tar.gz

Download URL git-crecord-20230226.0.tar.gz
Size 81.6 kB
Tags Source
SHA-256 checksum
How to use checksums
9bdf5d197fcdd753010d1f0f6fd465faa1f4805587528e4d3cefc4038b9132c9
BLAKE2b-256 checksum
How to use checksums
7cf98db0532a1abe864a057a9a14a1e83af6a2167c78c3761e0830f5abec849e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.7

Release history Release notifications | RSS feed

This release

20230226.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page