After your PR was merged and the branch auto-deleted, `git pull` says `Your configuration specifies to merge with the ref 'refs/heads/feature/login' from the remote, but no such ref was fetched.`
BeginnerTroubleshootingGitHub, Actions and Pull Request Issues
Answer
Likely causes → Your local branch still tracks origin/feature/login, which was deleted on GitHub after the merge.
Diagnose → git branch -vv shows [origin/feature/login: gone].
Fix →
git switch main
git pull
git branch -d feature/login # -D if it was squash-merged
git fetch --prune
Prevent → Switch back to main after merging and enable fetch.prune=true.
More on GitHub, Actions and Pull Request Issues
A workflow step that pushes a version bump fails with `remote: Permission to org/repo.git denied to github-actions[bot].` and `The requested URL returned error: 403`.IntermediateA workflow pushes a commit or tag, but the workflow that should run on that push or tag never starts.IntermediateA container job fails on any Git command with `fatal: detected dubious ownership in repository at '/__w/app/app'`.IntermediateYour PR suddenly shows 340 changed files and dozens of commits you did not write.IntermediateThe PR is stuck on `Expected — Waiting for status to be reported` for a required check called `build`.IntermediateThe PR was approved, but merging shows "Review required" again after you pushed a small fix.Beginner