Skip to main content

Host-side git

v0.1.6

Read-only git operations against a checkout living on the runner host (e.g. /opt/myapp). For remote-GitHub-API work, see the `github-cli` pack. The repo directory must live at GIT_REPO env var on the runner host.

8 allowed by default
Pack ID
git-local
Vendor
emisar
OS
linux
Actions
8
Required binaries. Install these on the host before relying on the pack — an action that calls a missing one fails at run time.
git

Install

emisar pack install fetches this pack, re-validates it, and verifies its content hash against the --hash below — the exact bytes this page was rendered against, so a tampered copy is rejected — before copying it into the runner's packs dir. The command reloads a running daemon itself; no manual restart.

on the runner host
sudo emisar pack install git-local --hash sha256:1a65266981600f3c86a7f5f2a5405a02ac5db4d82345acedcad1f50bee8d17c1

Actions 8 total

View on GitHub
  • git.blame_file exec low

    git blame -- <path>

    Show per-line authorship for one file. Path is relative to repo root.

    View source on GitHub
  • git.branch_list exec low

    git branch -av

    List all branches (local + remote-tracking) with last commit.

    View source on GitHub
  • git.diff_head exec low

    git diff HEAD

    Show uncommitted changes against HEAD. Capped at 1MB of output.

    View source on GitHub
  • git.log_recent exec low

    git log -n <N>

    List the last N commits with author + date + subject.

    View source on GitHub
  • git.reflog exec low

    git reflog -n <N>

    Show local HEAD-movement history. Use to find recent rebases / resets.

    View source on GitHub
  • git.remote_list exec low

    git remote -v

    List the remote URLs (fetch + push).

    View source on GitHub
  • git.show_commit exec low

    git show <ref>

    Show the commit message + diff for one commit ref.

    View source on GitHub
  • git.status exec low

    git status (porcelain)

    Show working-tree status — uncommitted changes, branch, ahead/behind.

    View source on GitHub