Skip to content

Instantly share code, notes, and snippets.

@antonbabenko
Created April 1, 2014 10:50
Show Gist options
  • Save antonbabenko/9911746 to your computer and use it in GitHub Desktop.
Save antonbabenko/9911746 to your computer and use it in GitHub Desktop.
How to create PR from command line when diff is very large
curl -u username:password \
--header 'X-GitHub-OTP: your_code_here' \
--request POST \
--data '{"title":"Merge staging into master", "head":"staging", "base":"master"}' \
https://api.github.com/repos/zoozoo-ab/zoozoo/pulls
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment