Make an FTC GitHub Repository
Last Updated: 9/6/2017
Once you have created a GitHub organization, it is time to make a repository to store your FTC code. (Click here for an introduction to GitHub and an overview of the whole process.) You will want to do this each year, or every time you want to start over with coding. Anyone who has access to the GitHub organization can do these steps.
- Import the official FTC code repository into a new GitHub repository in your organization
- Go to https://github.com, sign in, click the plus button in the top right corner, and click “Import repository.”
- Use “https://github.com/ftctechnh/ftc_app” as the clone URL.
- In the drop-down menu for “Owner,” change it from your username to the name of your organization (if you don’t see it, you’re probably haven’t been added to the organization).
- Name your repository. We like to include the year in the name.
- Select the “Private” option if you don’t want all of your code to be public. (If you do, you can select “Public,” or you can “fork” the FTC repository instead of importing it.)
- Click “Begin import.” The import may take a while. When it’s done, click the link to go to the repository.
- Add a description if you want by clicking “Edit” near the top of the page.
- Give the other coders access
- Have them make GitHub accounts
- Add them to the organization
- Make a “team” within your organization
- Go to the “Teams” tab on your organization’s GitHub page and make a new team
- Add the coders to the team
- Go to the “Settings” tab on your repository page, then click “Collaborators & teams” in the sidebar
- Add the team you created and use the drop-down menu to give it write access. You do not need to add anything to “Collaborators.”
Now you’re ready to integrate Git, GitHub, and Android Studio on your computer. We have separate tutorials for Windows and Mac here. If you use Linux, you can probably figure it out from the Windows tutorial.