You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Temporary store pr create details if the command failed. #1455
Describe the feature or problem you’d like to solve
If the pr create command fails, you will lose all the previous details provided.
10:21:05 ~/W/c/web stephenyu-xxxx origin/stephenyu-xxxx ✓
~ gh pr create
Creating pull request forstephenyu-xxxx into masterin xxxx/yyyy
? Title [Description]
? Body <Received>? What's next? SubmitTo github.com:xxxx/xxxx.git ! [rejected] HEAD -> stephenyu-xxxx (non-fast-forward)error: failed to push some refs to '[email protected]:xxxx/xxxx.git'hint: Updates were rejected because the tip of your current branch is behindhint: its remote counterpart. Integrate the remote changes (e.g.hint: 'git pull ...') before pushing again.hint: See the 'Note about fast-forwards' in 'git push --help' for details.exit status 1
Proposed solution
It would be nice if, until the pr create is succesful, the details provided are stored temporary so they can be retrieved or perhaps used as subsequent default.
Activity
mislav commentedon Jul 30, 2020
Thank you for the suggestion! Duplicate of #906