On Fri, Feb 21, 2025 at 3:45 AM Alexis Simon <alexis.si...@runbox.com> wrote:
>
> Hello,
>
> For those interested I tried the AGit workflow [1] on guix-science and
> it worked nicely to start a PR from the command line without forking
> [2]. Not sure it was mentioned before.

I ran the following for a single commit pull request, converting
newlines to HTML line breaks to satisfy git, though codeberg's
markdown formatter then misparses the item list [0].

git push civodul HEAD:refs/for/master/$(git branch --show-current) \
  -o title="$(git log -1 --pretty=format:'%s')" \
  -o description="$(git log -1 --pretty=format:'%b' | awk 1 ORS='<br />')"

[0] https://codeberg.org/civodul/guix/pulls/12

> Alexis
>
> [1]
> https://codeberg.org/forgejo/docs/src/branch/v7.0/docs/user/agit-support.md
> [2]
> https://codeberg.org/guix-science/guix-science/pulls/75#issuecomment-2848110

Reply via email to