Metadata-Version: 2.5
Name: git-edit-index
Version: 0.8
Summary: A git command that opens an editor to stage or unstage files.
Project-URL: Homepage, https://github.com/s3rvac/git-edit-index
Project-URL: Changelog, https://github.com/s3rvac/git-edit-index/blob/master/CHANGELOG.md
Author-email: Petr Zemek <s3rvac@petrzemek.net>
License-Expression: MIT
License-File: LICENSE
Keywords: editor,git,index,staging,unstaging
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: 3.15
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Software Development :: Version Control
Requires-Python: >=3.11
Description-Content-Type: text/markdown

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`):

```text
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

```text
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](https://github.com/s3rvac/git-edit-index) for more
information.
