di-sukharev / di-sukharev/opencommit
[Feature]: support global `.opencommitignore`
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 7.5k
- Forks
- 445
- Avg merge
- 18m
- Merged PRs (30d)
- 2
Description
Description
Would be nice to have support for a global ignore file. In Git you can do this by: git config --global core.excludesFile '~/.gitignore'
Suggested Solution
OpenCommit can read global ~/.opencommitignore file. The ignore file of the local project will be merged with the global one if it exists.
Alternatives
No response
Additional Context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the existing handling of the local project ignore file and the entry point that reads it. Check how a user-level ~/.opencommitignore should be discovered and merged with the local file, then verify that both ignore sources affect generated commit messages.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, javascript
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100