di-sukharev / di-sukharev/opencommit

[Feature]: support global `.opencommitignore`

Open
#344 0 comments 3 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.