# Re: git-commit: select which files to commit while editing the commit message

- From: Junio C Hamano \<hidden\>
- Date: 2016-08-11 19:51:48 
- List: git
- Page: https://ratatoskr.run/git/2016/08/7689847

```text
Josef Weidendorfer [ref] writes:

> On Saturday 09 December 2006 01:59, Junio C Hamano wrote:
>> Maybe the "git add --interactive" would give you a transcript
>> like this:
> ...
> Something like this really would be good.

I think I already had the code in jit --- I need to dig it out.

But the above is trivial for anybody who knows how to use
git-diff-index and "git-apply --cached", so...
```
