opencommit icon indicating copy to clipboard operation
opencommit copied to clipboard

[Feature]: Exclude certain file types from the git diff command

Open evmckinney9 opened this issue 1 year ago • 1 comments

Description

I develop in python and of course the use of jupyter notebooks destroys nicely formatted git diffs. Currently, I use this tool by committing all my .py files with opencommit, then committing all my .ipynb files manually as a separate commit. Other file types, like images, should be excluded for similar reasons.

Suggested Solution

I would pass the contents of the git diff over all files except those from an excluded list. Optionally, you could include in the prompt the filenames of those that were changed but not included in the diff.

Alternatives

No response

Additional Context

No response

evmckinney9 avatar May 23 '23 15:05 evmckinney9

Stale issue message

github-actions[bot] avatar Jul 02 '23 21:07 github-actions[bot]