Skip to content
Discussion options

You must be logged in to vote

When you force-push to a branch with an open pull request, the PR automatically updates to reflect the new commit history. However, this can cause confusion for reviewers since their previous comments might no longer match the current code context. GitHub will mark previous reviews as outdated. It's generally considered a bad practice to force-push to branches with open PRs unless absolutely necessary.

Replies: 1 comment

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Pull Requests Propose, review, and discuss changes to a repository's codebase Question Ask and answer questions about GitHub features and usage
2 participants