3 ms·
On occasion, others will force push their feature branch that's associated with a merge/pull request. In that case, running git fetch origin and git reset --har
by u801e 6y ago
On occasion, others will force push their feature branch that's associated with a merge/pull request. In that case, running git fetch origin and git reset --hard origin/branch-name to get your local tracking branch in the same state as the remote is the appropriate thing to do.
- seba_dos1 6y agoIndeed, I forgot that I have `git fetch` also disguised under my `git mr` alias :)