unity-git

A CLI for working with Unity and Git.


Keywords
oclif
License
MIT
Install
npm install unity-git@1.1.0

Documentation

unity-git

A CLI for working with Unity and Git.

oclif Version Downloads/week License

unity-git is a simple CLI that simplifies the setup of git and git lfs for Unity projects. The CLI can be used with npx or installed globally using npm install -g.

To initialize a git repo with git lfs and matching .gitignore and .gitattributes open a terminal and run:

cd <your Unity project root directory>
npx unity-git init

or install globally first:

npm install -g unity-git
unity-git init

Depending on your platform and setup you may have to run the command with elevated permissions:

sudo npx unity-git init

Usage

$ npm install -g unity-git
$ unity-git COMMAND
running command...
$ unity-git (-v|--version|version)
unity-git/1.1.0 linux-x64 node-v12.22.1
$ unity-git --help [COMMAND]
USAGE
  $ unity-git COMMAND
...

Commands

unity-git help [COMMAND]

display help for unity-git

USAGE
  $ unity-git help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

unity-git init

init a new git repository for your unity project.

USAGE
  $ unity-git init

EXAMPLE
  $ unity-git init

See code: src/commands/init.ts