Skip to content

Instantly share code, notes, and snippets.

@ljchuello
Created May 21, 2026 20:27
Show Gist options
  • Select an option

  • Save ljchuello/c9a2cd148022827dbc95631b727b7628 to your computer and use it in GitHub Desktop.

Select an option

Save ljchuello/c9a2cd148022827dbc95631b727b7628 to your computer and use it in GitHub Desktop.
Limpieza (prune) de cuando haya ocurrido error de sincronziacion
Remove-Item .git\refs\remotes\origin\HEAD -Force
Remove-Item .git\logs\refs\remotes\origin\HEAD -Force
git remote set-head origin --auto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment