gh pr create

From wikieduonline
Jump to navigation Jump to search

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: