May 2, 2023, 4:45pm
Here is a randomly selected PR:
#292 - Some new plants including badland plants. - Exile - Codeberg.org
When I press the “Copy branch name” button I get:
How do I use that?
It seems like it would be much better if I got:
git fetch hxxps://codeberg.org/lord_of_the_dumpster/Exile.git badland-plants
(I had to replace the t’s with x’s because the forum software was messing it up.)
That would be useful to fetch and test a PR.
This might help.
You could also suggest other useful commands (if enough people like)
May 2, 2023, 7:40pm
Thank you. That is good to know.
That info does not appear on the PRs of some repos for some reason. Different repo settings I guess. I will have to do some research. Here is an example of a PR on Codeberg with no git command help:
But that doesn’t answer my question about the use of the “Copy branch name” button.
The “copy branch name” : it’s related to
Source branch reference should probably be `user/repo` · Issue #20408 · go-gitea/gitea · GitHub , no conclusion yet.
There are different use cases for it.
user/repo:banch pattern to construct compare URLs manually.
May 3, 2023, 3:16pm
You’re saying it’s used for git diff? That would explain it.
Thanks for making that PR that makes the command line instructions show up even if there are merge conflicts.
I just wish that info showed up at the top not the bottom.