tldr-pages / tldr

📚 Collaborative cheatsheets for console commands
https://tldr.sh
Other
50.21k stars 4.09k forks source link

gh/hub: add example to raise PR against a specific branch #7470

Open mfrw opened 2 years ago

mfrw commented 2 years ago

Most of us use gh or hub to raise PR from the command line. Add an example to clarify, how to raise a PR against any specified branch. Motivation for this PR is a comment thread for this pull-request #7447 .

th0ughtcrime commented 1 year ago

That page already has 8 examples; which one(s) do you think should be removed? Since you use it regularly, can you say which ones are the least useful to you?

navarroaxel commented 1 year ago

Oh, we have that example in here: https://github.com/tldr-pages/tldr/blob/main/pages/common/gh-pr-create.md. We can create a hub-pull-request.md page with detailed examples.