FTC #11117 Autonomice

Make an FTC GitHub Repository

By Gabriel

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.

  1. Import the official FTC code repository into a new GitHub repository in your organization
  1. Go to https://github.com, sign in, click the plus button in the top right corner, and click “Import repository.”
  2. Use “https://github.com/ftctechnh/ftc_app” as the clone URL.
  3. 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).
  4. Name your repository. We like to include the year in the name.
  5. 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.)
  6. Click “Begin import.” The import may take a while. When it’s done, click the link to go to the repository.
  7. Add a description if you want by clicking “Edit” near the top of the page.
  1. Give the other coders access
  1. Have them make GitHub accounts
  2. Add them to the organization
  3. Make a “team” within your organization
  1. Go to the “Teams” tab on your organization’s GitHub page and make a new team
  2. Add the coders to the team
  3. Go to the “Settings” tab on your repository page, then click “Collaborators & teams” in the sidebar
  4. 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.