Difference between revisions of "Gh pr create"

From wikieduonline
Jump to navigation Jump to search
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
 +
 +
[[gh pr]] create
 +
 +
gh pr create --draft
 +
 +
== 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 ==
 
== Related ==
 
* [[Pull Request (PR)]]
 
* [[Pull Request (PR)]]
 +
* <code>[[gh pr checkout]]</code>
 +
* [[Creating the pull request]]
  
 
== See also ==
 
== See also ==
 +
* {{gh pr}}
 
* {{gh}}
 
* {{gh}}
  
  
 
[[Category:GitHub]]
 
[[Category:GitHub]]

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: