Skip to content

Deno-Forge/git-ignite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@deno-forge/git-ignite

Initializes a Git repository and configures it for GitHub based on your deno.json(c) settings.

Usage

deno run --allow-read --allow-write --allow-run jsr:@deno-forge/git-ignite

Options

  • --branch=<name> – specify a branch name (default: main)
  • --dry-run – print commands instead of executing them
  • --no-commit – skip initial commit
  • --open – open the GitHub repository creation page (default: true)

Permissions

This CLI requires:

  • --allow-read - required for parsing the deno.json(c) file
  • --allow-write - required for writing the .gitignore file
  • --allow-run - required for running git commands via shell

Advanced Usage

import { runGitSetup } from "jsr:@deno-forge/git-ignite"

await runGitSetup({
  dryRun: true,
  branchName: "main",
  noCommit: false,
  open: true,
})

📁 Requirements

  • Git must be installed and available in your system path.
  • Your project must include a deno.json or deno.jsonc file with a valid githubPath (e.g., "owner/repo").
  • Optionally include a description field to prefill the GitHub repo creation page.

Deno Forge Principles

Learn more about our philosophy in the Deno Forge Manifest.

About

Sparks a Git repository and GitHub config for your Deno module

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors