apache / apache/datafusion-comet

Try and discourage use of `git push --force`

Open Beginner friendly
#5,861 0 comments 0 reactions 0 assignees View on GitHub
enhancement requires-triage
Dominant language
Scala
Stars
1.3k
Forks
373
Avg merge
2d 6h
Merged PRs (30d)
190

Description

### What is the problem the feature request solves?

I would like to update the contributor guide and `AGENTS.md` to try and discourage use of `git push --force` and instead use `--force-with-lease`. This would prevent accidentally deleting commits from other maintainers in rare cases where multiple maintainers are pushing to the same PR.

### Describe the potential solution

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Review the contributor guide and AGENTS.md for guidance on force-pushing. Update both documents to discourage git push --force and recommend --force-with-lease instead, then verify that the guidance is consistent and clearly explains the safer workflow.

Written by the indexing model from the issue text.

Assessment

Tech stack
git
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
88/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.