Skip to content

Instantly share code, notes, and snippets.

@zzzarius
Created June 4, 2025 06:48
Show Gist options
  • Save zzzarius/596e14cba2523a863e796a016b0173fb to your computer and use it in GitHub Desktop.
Save zzzarius/596e14cba2523a863e796a016b0173fb to your computer and use it in GitHub Desktop.
Git push current branch by making it upstream too
git push -u origin $(git branch --show-current)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment