I'd like my .gitignore_global to be the head node of several *.gitignore files. To achieve this, I'd like .gitignore_global to append contents of multiple *.gitignore files to itself by importing *.gitignore files with its path.
For example, if git understands source command, .gitignore_global may look like:
# platform-specific .gitignore files
source ~/.gitignore/gitignore.git/Global/Linux.gitignore
source ~/.gitignore/gitignore.git/Global/OSX.gitignore
source ~/.gitignore/gitignore.git/Global/Windows.gitignore
# language-specific .gitignore files
source ~/.gitignore/gitignore.git/C++.gitignore
source ~/.gitignore/gitignore.git/Java.gitignore
# above .gitignore files are cloned from the following Github page:
# https://github.com/github/gitignore.git
Unfortunately, the source command was not recognized by git. Any recommendations?