Difference between revisions of "Gh pr create"

From wikieduonline
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
  
 
  [[gh pr]] create
 
  [[gh pr]] create
 
+
 +
gh pr create --draft
  
 
== Errors ==
 
== Errors ==
Line 28: Line 29:
 
* [[Pull Request (PR)]]
 
* [[Pull Request (PR)]]
 
* <code>[[gh pr checkout]]</code>
 
* <code>[[gh pr checkout]]</code>
 +
* [[Creating the pull request]]
  
 
== See also ==
 
== See also ==

Latest revision as of 06:56, 2 October 2024

gh pr create

gh pr create --draft

Errors[edit]

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[edit]

See also[edit]

Advertising: