Skip to content

Instantly share code, notes, and snippets.

@peterbjorn
Created March 13, 2024 17:45
Show Gist options
  • Save peterbjorn/1bcb7c04dd31558cc2af7616da9f55e2 to your computer and use it in GitHub Desktop.
Save peterbjorn/1bcb7c04dd31558cc2af7616da9f55e2 to your computer and use it in GitHub Desktop.
Fix for git error: fatal: The current branch main has multiple upstream branches, refusing to push.
git config remote.origin.push HEAD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment