Skip to content

Instantly share code, notes, and snippets.

@warmwaffles
Created June 1, 2026 22:11
Show Gist options
  • Select an option

  • Save warmwaffles/e800c69ba917f750437dae0dd65a5b19 to your computer and use it in GitHub Desktop.

Select an option

Save warmwaffles/e800c69ba917f750437dae0dd65a5b19 to your computer and use it in GitHub Desktop.
# Add to your .git/config
[remote "origin"]
url = git@github.com:foo/bar.git
pushurl = git@codeberg.org:foo/bar.git
pushurl = git@github.com:foo/bar.git
pushurl = git@gitlab.com:foo/bar.git
fetch = +refs/heads/*:refs/remotes/origin/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment