Using Git with Android Studio for the FTC App

This tutorial should help you learn how to use Git with the FTC app, allowing you to clone the latest project from GitHub, and update the project later on without having to download a new project.

So, let’s get started!

Step 1: Download the Git Shell from here, and then install.

Step 2: Launch the Git Shell, and we’re ready to start cloning the repository!

Step 3: Navigate to the directory where you want to clone the repository, by using commands as shown below.

cd FolderName // This will go into the folder named FolderName inside the current directory

ls // This will show the files and folders inside the current directory

Step 4: Clone the repository using the command below.

git clone https://github.com/ftctechnh/ftc_app

Now, if you navigate to the folder where the repository was cloned, you will see the project, which you can then import with Android Studio.

Also, to update your project and sync the changes from the repository, just use the command below after navigating into the project directory.

git pull

And that’s it! Now you can easily update your Android Studio project without having to download the .zip file from GitHub!

By | 2017-06-09T17:47:33+00:00 June 9th, 2017|Software|0 Comments

About the Author:

I love programming in Swift and Java, building and programming robots, swimming, skiing, and playing the clarinet. In essence, I like to do anything that excites my neurons!

Leave A Comment