go back to the previous branch after creating a PR
See original GitHub issueAfter running shipjs prepare
, user ends up on a branch like releases/vx.y.z
.
What if we checkout the previous (base) branch after creating the PR?
Ship.js checking out to a release branch is not so much clear to users, so it might confuse them.
(a) Should we add more message to clarify it? (b) or should we checkout the previous branch because there’s no(or less) reason to stay on the release branch?
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Reverting a pull request - GitHub Docs
Near the bottom of the pull request, click Revert. If the Revert option isn't displayed, you'll need to ask the repository administrator for...
Read more >Using Git — how to go back to a previous commit - Medium
Go back to the selected commit on your local environment Use git checkout & the ID (in the same way you would checkout...
Read more >How to PR and merge again after reverting PR using Github ...
Just revert the revert. So by clicking the revert button you will have created a new PR (your step 2). Once this is...
Read more >How can I restore a previous version of my project?
Returning to an Old Revision. The fastest way to restore an old version is to use the "reset" command: $ git reset --hard...
Read more >How to Easily Revert Git Pull Requests - LinearB
The Non-Destructive Way: The Git Revert Command · The first step would be to create a branch off of main—or whatever your default...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Maybe something like that?
@eunjae-lee yeah that’s a good idea to show command to checkout previous branch. I created PR #554 for this issue.