Files
clan-core/pkgs/agit
a-kenji de5306e16d agit: init agit helper
This initializes a very simple AGit helper script.

Usage:

```
agit create
```
or
```
agit c
```

To create a new AGit Pr.

Integrate Pulling from an AGit remote.
Gitea doesn't expose an AGit endpoint in the api, or the `tea` cli.
This makes pulling not feasible, since there is no robust way to query
the AGit topic, which is the ref that need to be pulled.

One possible solution currently could be scraping the gitea instructions
for forking a pull request on an AGit PR.
2025-06-11 12:26:19 +02:00
..
2025-06-11 12:26:19 +02:00
2025-06-11 12:26:19 +02:00
2025-06-11 12:26:19 +02:00

agit

A helper script for the AGit workflow with a gitea instance.

usage: agit [-h] {create,c} ...

AGit utility for creating and pulling PRs

positional arguments:
  {create,c}    Commands
    create (c)  Create an AGit PR

options:
  -h, --help    show this help message and exit

The defaults that are assumed are:
TARGET_REMOTE_REPOSITORY = origin
DEFAULT_TARGET_BRANCH = main

Examples:
  $ agit create
  Will create an AGit Pr with the latest commit message title as it's topic.

  $ agit create --topic "my-feature"
  Set a custom topic.

  $ agit create --force
  Force push to a certain topic
        

References: