Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 846 Bytes

README.md

File metadata and controls

33 lines (23 loc) · 846 Bytes

@synstack/git

Git utilities for AI prompting and automation

Warning

This package is included in the @synstack/synscript package. It is not recommended to install both packages at the same time.

Note

The ls function is available through @synstack/fs for convenience.

What is it for?

This package provides a small set of Git operations commonly needed when working with AI tools and automation scripts:

import { ls, show } from "@synstack/git";

// Get all git-relevant files in your project
const files = await ls();

// View specific commit changes
const commitDetails = await show("449b7730436026243936a0a2f37c6d3474fcad3b");

Installation

npm install @synstack/git
# or
yarn add @synstack/git
# or
pnpm add @synstack/git