Skip to content

Generate gitignore from a template and includes a LICENSE file

License

GPL-3.0 and 2 other licenses found

Licenses found

GPL-3.0
LICENSE
GPL-3.0
LICENSE.GNU
MIT
LICENSE.MIT
Notifications You must be signed in to change notification settings

myersr/gitBaseBlobs

gitBaseBlobs

Customize License

Use sed to replace my name in the license file with yours if using MIT.

Linux: sed -i 's/Roy Myers/First Last/g' LICENSE.MIT

Mac: sed -i .bak 's/Roy Myers/First Last/g' LICENSE.MIT && rm LICENSE.MIT.bak

Generate .gitignore

The included generate script will concatenate together multiple gitignore templates. The templates are just a gitignore file with only the pertinent lines.

Usage:

generate-ignore.sh [-a] [-o outputfile] args...

The args can consist of any template file name before the .gitignore. for example generate-ignore.sh node would include the node.gitignore template.

Using -a or --all will include all templates and will over write including just one. ex. generate-ignore.sh -a node dotnet will create a gitignore with all templates and not just node & dotnet. It will not duplicate node & dotnet.
To specify an output file use -o filename or --output filename. The file must not exist. You can then mv it to the correct directory and rename it .gitignore.

About

Generate gitignore from a template and includes a LICENSE file

Resources

License

GPL-3.0 and 2 other licenses found

Licenses found

GPL-3.0
LICENSE
GPL-3.0
LICENSE.GNU
MIT
LICENSE.MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages