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.
And that’s it! Now you can easily update your Android Studio project without having to download the .zip file from GitHub!
Leave A Comment