Skip to content

Instantly share code, notes, and snippets.

@drrost
Last active October 27, 2020 09:07
Show Gist options
  • Save drrost/47e87188254db44fba0d39bf44a07f44 to your computer and use it in GitHub Desktop.
Save drrost/47e87188254db44fba0d39bf44a07f44 to your computer and use it in GitHub Desktop.
Make git push to a selected remote. Useful when you use more than one remote for a project.
# List all available remotes
git remote -v
# Push to a selected remote
git push <a name from the list above>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment