unity-git
v1.1.0
Published
A CLI for working with Unity and Git.
Downloads
5
Readme
unity-git
A CLI for working with Unity and Git.
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 initor install globally first:
npm install -g unity-git
unity-git initDepending on your platform and setup you may have to run the command with elevated permissions:
sudo npx unity-git initUsage
$ 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 CLISee code: @oclif/plugin-help
unity-git init
init a new git repository for your unity project.
USAGE
$ unity-git init
EXAMPLE
$ unity-git initSee code: src/commands/init.ts
