Skip to content

Instantly share code, notes, and snippets.

@KostyaTretyak
Created August 12, 2024 09:33
Show Gist options
  • Select an option

  • Save KostyaTretyak/0911a803c7217864c9d5ef003d531fbe to your computer and use it in GitHub Desktop.

Select an option

Save KostyaTretyak/0911a803c7217864c9d5ef003d531fbe to your computer and use it in GitHub Desktop.
git fetch origin
git branch -u origin/main main
git remote set-head origin -a
git remote prune origin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment