git proj init -l pLocalDir [-a] [-s pMaxSize] [-m] [-f]
[common-options]
This will create a local git repo with branches. If git-flow is installed can be setup too. After "git proj init" is done, run "git proj remote" to setup remote for git and raw files.
If there is a -a option, "git proj init" will be run with all the default options, which can be overridden with other options.
If there is no -a option, you will be prompted for the settings. See the OPTION section for details.
When the local and remote git repos are setup, all the settings will be saved to [project]/.git/config and [project]/.gitproj
The -a option will automatically run the whole init process with default settings. The other options can be defined to override the default settings.
Define the existing project directory. The last directory will be used for the name of the project. Required.
Prompt:
Dir (-l) [$PWD]? $gpLocalTopDir
So the project Name will be: ${gpLocalTopDir##*/}
Define the "size" for large binary files. Default 10K
Prompt:
Size (-s) [10K]?
Prompt:
Binary files greater than [pSize] were found in your project dir:
[file list]
The listed files can be moved to the project's "raw" directory. Dirs will be created in the raw directory that correspond to the project's directory. A symlink will replace the moved file. The symlink will point to [raw].
The symlinks are only provided for backward compatibility; it would be best to remove those links and modify your code and apps to access the files directly from the raw directories.
Prompt:
Move the files (-m) [y/n]?
If git-flow is installed.
Prompt:
Setup git-flow (-f) [y/n]?
-h
-H usage|text|html|md|man|int|int-html|int-md
-q, -v, -V N (gpVerbose)
-x, -xx..., -X N (gpDebug)
Run "git proj -h" for details. Or "man git-proj" for help with all the sub-commands.
0 - if OK
!0 - if errors
git proj
git proj remote
git proj clone
git proj push
git proj pull
git proj set
git proj status
git proj add TODO
git proj config TDO
git flow
TurtleEngr
GPLv3 Copyright 2021 by TurtleEngr