[Bug]: dicard & pull fails when conflict #38238
Labels
Bug
Something isn't working
Community Reported
issues reported by community members
Needs More Info
Needs additional information
Needs Triaging
Needs attention from maintainers to triage
Production
Is there an existing issue for this?
Description
When trying to pull & discard fails with
git discard changes failed. Details: Please create a new branch and resolve the conflicts on remote repository before proceeding ahead.
Creating a new branch is not possible on CE so the message is misleading.
A feature like
git reset --hard
#34463 will also help us to fix this issue.Steps To Reproduce
Produce a conflict between the local master and remote
discard & pull
Public Sample App
No response
Environment
Production
Severity
Critical (Broken Production apps)
Issue video log
No response
Version
Self-hosted: 1.48
The text was updated successfully, but these errors were encountered: