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

I cloned the project and clicked on the branch with the renamed readme file in README. I am trying to create a pull-request on the command line, just to try the PR here, not the website.

$ git request-pull origin/master origin readme:readme The following changes since commit 51320a3a42f82ba83cd7919d24ac4aa5c4c99ac6: first commit message are available in the git repository at: git@github.com:example/com:example.git readme for you to fetch changes up to 891c05c5236341bcbe33ceddc415ae921ee42e44: second commit message ---------------------------------------------------------------- Simone Gentili (1): Fix readme.md => README.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename readme.md => README.md (100%) 

github doesn't show pull request, and I don't see errors.

  • Is it possible to create a transfer request directly from bash?
  • Is PR correct and can I view a list of download requests?
+8
git github pull-request
source share
2 answers

Although they are called exactly the same, the GitHub download request and the git request-pull request are completely different.

git request-pull is for creating a summary of pending changes to be sent to the mailing list. It does not have default integration with GitHub.

GitHub Pull Requests is a fully featured feature of GitHub only. This allows you to merge and integrate code from another branch / fork. You can resolve merge conflicts, do code reviews, or add additional comments to a GitHub retrieval request.

Unfortunately, the git command is called similarly to the GitHub functionality, which makes it sound like it should do the same.

+5
source share

github develops hub :

hub is a command line shell for git that makes you better on GitHub.

allowing you to do this with

 git pull-request 
+4
source share

All Articles