Skip to content
Discussion options

You must be logged in to vote

This behavior is actually intentional and relates to how GitHub handles conflict resolution sessions behind the scenes.

Why there is a timer

When you click “Resolve conflicts” in a Pull Request, GitHub:

  • Creates a temporary working state of the repository
  • Locks in the current base + head commits
  • Lets you edit files in the browser

This session is not permanent — it has a timeout.


Why your changes were lost

While you were resolving conflicts:

  • The session likely expired due to inactivity or time limit
  • OR the base branch may have changed (new commits pushed)

When that happens:

  • GitHub invalidates your merge state
  • You’re forced to restart conflict resolution

Why GitHub does this

This des…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by misterjcvela
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 Welcome 🎉 Used to greet and highlight first-time discussion participants. Welcome to the community! source:ui Discussions created via Community GitHub templates
2 participants