Skip to main content
8 events
when toggle format what by license comment
Feb 2 at 17:38 history edited meh CC BY-SA 4.0
The convention is now main branch, not master branch.
Apr 25, 2023 at 11:59 comment added meh @vgdub, thanks for your comment. Git itself has no concept of a PR. PR is a construct of GitHub. With a bit of creativity you can use restore on your desired branch, just as you would with any of the other approaches mentioned in this list.
Mar 20, 2023 at 8:17 comment added vgdub But restore changes the PR branch and that is not expected. PR has source of comments or notes etc so the approach should work in the same branch.
Feb 26, 2023 at 17:31 comment added Mauro Torres This worked great for me because I didn't want to use Reset which deletes commits. After running those commands, I of course just switched to master and merged. Thanks.
Sep 22, 2022 at 14:56 history edited meh CC BY-SA 4.0
deleted 16 characters in body
Mar 23, 2022 at 17:39 comment added Liyong Zhou The restore method worked clean and simple for me.
Mar 15, 2022 at 18:20 history edited meh CC BY-SA 4.0
added 31 characters in body
Mar 15, 2022 at 18:14 history answered meh CC BY-SA 4.0