This utility will allow you to manage your git scripts in a less-than-horrible fashion.
There are a few commands for dealing with the repos and symlinks.
Fetches, updates, and/or checks-out a branch of a provided github repository.
e.g. git scripts get tzrlk/git-extras master
Note
|
If the last argument is omitted, it will default to master |
Selects a particular script and symlinks it into the ~/.git/script-bin directory for use.
e.g. git scripts on tzrlk/git-extras bin/git-ignore git-ignore
Removes a script repo and all associated activated scripts.
e.g. git scripts purge tzrlk/git-extras
Scripts are provided for installation, but for any environment, the first step is to clone this repository to some directory on your computer.
Execute install.cmd and it will use powershell to create the correct PATH entries for you.
Note
|
This doesn’t actually work at the moment, so you’ll need to start a powershell session under administrator mode, and set the ExecutionPolicy to Bypass; finally, run the script file. The install.cmd file just attempts to do this all for you. |