Skip to main content

This command represents a faster alternative to git add -i or git gui. It allows you to stage or unstage files from the index in an editor, just like when you perform an interactive rebase.

For example, let’s assume you have the following three modified files (git status --short):

M path/to/file1
M another/path/to/file2
M yet/another/path/to/file3

After running git edit-index, an editor will show up with the above output. To stage (add) the first two files, simply change the text to

A path/to/file1
A another/path/to/file2
M yet/another/path/to/file3

The supported statuses are M, A, D, and ?. They allow you to not only stage files but also unstage them, delete them, or revert changes done to them since the last commit.

See the project’s homepage for more information.

Metadata

Release files for git-edit-index 0.7

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-edit-index 0.7
File Size Uploaded
git-edit-index-0.7.tar.gz 10.1 kB Details

Release files / git-edit-index-0.7.tar.gz

Download URL git-edit-index-0.7.tar.gz
Size 10.1 kB
Tags Source
SHA-256 checksum
How to use checksums
856acd9c716405d753da39f52892a12139c4c38c7030d40357863a3240920429
BLAKE2b-256 checksum
How to use checksums
5389cb7fc226e141058f9974560b5e26057acc46df3099b6a2b7687f0af5070d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.5

Release history Release notifications | RSS feed

This release

0.7 This release

1 release file

0.6

1 release file

0.5.2

1 release file

0.5.1

1 release file

0.5

1 release file

0.4

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