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
- Host: GitHub
- URL: https://github.com/initx-collective/initx-plugin-git
- Owner: initx-collective
- License: mit
- Created: 2024-10-29T02:34:22.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-29T12:23:16.000Z (about 1 year ago)
- Last Synced: 2025-10-10T21:54:45.815Z (8 months ago)
- Topics: git, initx, initx-plugin
- Language: TypeScript
- Homepage:
- Size: 244 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)