A simple command line tool for generating files to understand git's commands at work.
Options:
makeforgit filename [--number] [--index] [--append] [--commit] [--one]
filename The file name prefix
-n, --number The number of files to generate
-i, --index Specify the file index to modify
-a, --append Append template to file specified with index. If the template doesn't match a pre-exiting one, the argument value is used
-c, --commit Commit all files as one snapshot
-o, --one Commit each file as an individual snapshot. Use with --commit
You must have node installed.
- Clone the repo
cd
to the directory- Execute
npm init
to generate the symlink - Open a new shell
cd
to the demo directory- Play!