Skip to content
This repository was archived by the owner on Jul 19, 2020. It is now read-only.

peter-evans/actions-git

Repository files navigation

actions-git

CI

A git library for GitHub Actions.

This library extracts the git command internals of actions/checkout into a module. It has then been extended with additional git commands.

⚠️ This library is intended to support my own GitHub actions. Updates may include breaking interface changes.

Usage

npm install @peter-evans/actions-git
import * as actionsGit from '@peter-evans/actions-git'
const workingDirectory = '.'
const lfs = false
const git = await actionsGit.createGitCommandManager(workingDirectory, lfs)

await git.fetch('my-branch')

About

A git library for GitHub Actions

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

 
 
 

Contributors 2

  •  
  •