Agitjo: Manage Forgejo PRs with AGit-Flow in Emacs

fanf21 pts0 comments

halvin/agitjo: Manage Forgejo PRs with AGit-Flow in Emacs - Codeberg.org

This website requires JavaScript.

halvin/agitjo

Watch

Star

10

Fork

You've already forked agitjo

Code

Issues

Pull requests

Releases

Activity

Manage Forgejo PRs with AGit-Flow in Emacs

emacs

forgejo

magit

transient

100 commits

1 branch

9 tags

238 KiB

Emacs Lisp

97%

Scheme

3%

main

Find a file

HTTPS

Download ZIP<br>Download TAR.GZ<br>Download BUNDLE

Open with VS Code

Open with VSCodium

Open with Intellij IDEA

Javier Olaechea

fa9737479f

agitjo-setup: Add autoload cookie

...<br>Otherwise we need to require agitjo explicitly before calling<br>`agitjo-setup'. i.e.

(with-eval-after-load 'magit<br>(require 'agitjo) ; ← With the autoload cookie we can skip this call<br>(agitjo-setup "#"))

Ref: (info "(elisp)Autoload Cookie")

2026-05-23 15:48:55 -05:00

images

images: Update menu.png

2025-10-01 17:31:57 -04:00

agitjo.el

agitjo-setup: Add autoload cookie

2026-05-23 15:48:55 -05:00

CHANGELOG.org

Bump version to 2.0.0

2026-04-15 22:51:56 +08:00

COPYING

Initial commit

2025-08-26 15:41:56 -04:00

guix.scm

guix.scm: Add missing import

2025-08-28 16:55:47 -04:00

README.org

README.org: Add links to MELPA pages

2026-04-15 23:08:54 +08:00

README.org

AGitjo

Installation

Guix

MELPA

Usage

AGitjo

AGitjo is a GNU Emacs package that extends Magit with a new menu for AGit-Flow<br>operations, to make them more convenient for users. The AGit workflow enables<br>users to create and edit pull requests using just the "git push" command. This<br>package is intended specifically for use with Forgejo-based (e.g. Codeberg)<br>repositories.

See Forgejo's documentation about AGit-Flow to learn more.

Installation

Guix

AGitjo is available as a GNU Guix package.

The stable version can be found in the (gnu packages emacs-xyz) module, under<br>the symbol emacs-agitjo. One may install it into the user profile like so:

guix install emacs-agitjo

This package may also be installed using the guix.scm file in this repository.<br>For example, to install to the user profile, one may run the following in this<br>repository's root directory:

guix package --install-from-file=guix.scm

MELPA

AGitjo is also available on MELPA and MELPA Stable. See Getting Started for<br>instructions on using the MELPA repositories.

Usage

Run the following to load AGitjo and set up key-bindings in the relevant Magit<br>keymap (in this example, we use #):

(use-package agitjo<br>:config (agitjo-setup "#"))

An average workflow might look like the following:

Write and commit some code, and eventually decide it's ready for a pull<br>request.

Open Agitjo's transient menu with M-x agitjo-push or by inputting the #<br>key inside a Magit status buffer.

Set options like the title (-t) and the session identifier (-s).

Invoke one of the push commands to execute a git-push operation.

If creating a new PR (the force-push option -f is disabled), a dedicated<br>buffer will open for drafting a PR description.

Visit the created pull request's link (V) in a browser to inspect it and<br>make any additional adjustments, if needed.

Repeat steps 1-4 with the force-push option (-f) enabled to push changes to<br>the existing PR.

agitjo emacs guix push forgejo agit

Related Articles