-
Notifications
You must be signed in to change notification settings - Fork 30
Adding PackageBuilder as a Git submodule to your repository
rolivieri edited this page Nov 14, 2016
·
2 revisions
To include PackageBuilder as part of your repository issue the following command:
git submodule include https://github.com/IBM-Swift/Package-Builder.git
That command will include Package-Builder as a submodule to your repository and include a file named .gitmodules
. This file will need to be modified slightly so that when the submodule is initialized it won't count as changes to your repository.
The created .gitmodules
will look like this:
[submodule "Package-Builder"]
path = Package-Builder
url = https://github.com/IBM-Swift/Package-Builder.git
You should add an ignore line to it so that it will look like this:
[submodule "Package-Builder"]
path = Package-Builder
url = https://github.com/IBM-Swift/Package-Builder.git
ignore = all