An open API service indexing awesome lists of open source software.

https://github.com/initx-collective/initx-plugin-git

Git plugin for initx
https://github.com/initx-collective/initx-plugin-git

git initx initx-plugin

Last synced: 4 months ago
JSON representation

Git plugin for initx

Awesome Lists containing this project

README

          

initx ⚙️

initx A more convenient scripting engine

npx initx <something>

## @initx-plugin/git

Git plugin for `initx`

## Usage

```bash
npm install @initx-plugin/git -g
```

### Git Repository

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

```bash
npx initx git@github.com:user/repository.git
```

### Git Branch

Specify a branch name

```bash
npx initx git@github.com:user/repository.git main
```

### Git User

Set git username and email

```bash
npx initx user mail@example.com your_name
```

### Git GPG

```bash
# 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

```bash
npx initx gpg
```

Select `Set GPG key for git commits`

## Documentation

[initx](https://github.com/initx-collective/initx)