Difference between revisions of "Gh pr create"

From wikieduonline
Jump to navigation Jump to search
Line 27: Line 27:
 
* [[Pull Request (PR)]]
 
* [[Pull Request (PR)]]
 
* <code>[[gh pr checkout]]</code>
 
* <code>[[gh pr checkout]]</code>
 +
* [[Creating the pull request]]
  
 
== See also ==
 
== See also ==

Revision as of 06:54, 2 October 2024

gh pr create

Errors

gh pr create
Warning: 1 uncommitted change
? Where should we push the 'feature/newbranchtest3' branch? your-user/test2

Creating pull request for feature/newbranchtest3 into main in your-user/test2

? Title test3 PR
? Body <Received>
? What's next? Submit
remote:
remote:
To github.com:your-user/test2.git
 * [new branch]      HEAD -> feature/newbranchtest3
Branch 'feature/newbranchtest3' set up to track remote branch 'feature/newbranchtest3' from 'origin'. 

X operation failed. To restore: gh pr create --recover /var/folders/fv/dhxvnnqd195gt23kq6rb7bfm0000gn/T/gh2267113741.json

pull request create failed: GraphQL: No commits between main and feature/newbranchtest3 (createPullRequest)

Related

See also

Advertising: