|
Navigate to the source repository settings for a Plan or Job, as described on Specifying the Source Repository for a Plan. Choose to add a new or edit an existing repository and select Github in the Source Control drop-down.
Once you've added your Github username and password and clicked Load Repositories, you will have the following options to specify the source repository for your plan:
| Repository | Bamboo will retrieve all repositories you have explicit permissions to. Pick one of the repositories. | |
| Branches | Pick a branch if you want to checkout code from a branch other than the master branch. | |
| Use shallow clones | Select this setting to allow Bamboo to perform shallow clones (i.e. history truncated to a specified number of revisions). This should increase the speed of the initial code checkouts, however if your build depends on the full repository history, we recommend that you do not use this option. Shallow clones are enabled by default. | |

Screenshot above: Source Repository — GitHub
Specifying the Source Repository for a Plan
Specifying the Source Repository for a Job
Git