Skip to content

initx-collective/initx-plugin-git

Repository files navigation

initx ⚙️

initx A more convenient scripting engine

npx initx <something>

@initx-plugin/git

Git plugin for initx

Usage

npm install @initx-plugin/git -g

Git Repository

Create a new repository or modify the remote repository address in the current directory

npx initx [email protected]:user/repository.git

Git Branch

Specify a branch name

npx initx [email protected]:user/repository.git main

Git User

Set git username and email

npx initx user [email protected] your_name

Git GPG

# npx initx gpg [true|false]
npx initx gpg true

Select Enable or disable GPG signing for git commits, Set git commit signature

If true, includes setting the Git GPG Key

Git GPG Key

npx initx gpg

Select Set GPG key for git commits

Documentation

initx