git request-pull: how to create a (github) pull request on the command line?

前端 未结 3 1430
[愿得一人]
[愿得一人] 2021-01-01 14:34

I\'ve cloned a project, and pushed a branch with just a renamed readme file to README. I am trying to create a pull-request on the command line, just to try PR from here ins

3条回答
  •  独厮守ぢ
    2021-01-01 15:18

    With Github's new official CLI (command line interface):

    gh pr create --base master --title "My first cli PR" --body "What did I do?"
    

    See additional details and options and installation instructions.

提交回复
热议问题