Skip to content

Instantly share code, notes, and snippets.

@funkyfisch
Created April 19, 2020 22:07
Show Gist options
  • Save funkyfisch/062c6093c6db2539862b65f7eab755bb to your computer and use it in GitHub Desktop.
Save funkyfisch/062c6093c6db2539862b65f7eab755bb to your computer and use it in GitHub Desktop.
How to push 1-1 local-remote branches for pull/merge requests
#!/bin/bash
git push origin $(git rev-parse --abbrev-ref HEAD)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment