Add to a Repository with Github Desktop

Overview

In order to make sure you continue to keep track of your files you will need to learn to use GitHub.

Add Code Files to your Repository

  1. Open a project in the Arduino IDE

  2. Select File/Save As and navigate to your new repository directory.

  3. Click on Gitdesktop and you should now see the new files listed on the left side of the window.

    _images/newfiles.PNG
  4. Before commiting these changes, you must add a summary. A description is optional.

  5. Select Commit to main.

    _images/commit.PNG
  6. The last step is to select Push origin. This final step will push your updated code to your repository on Github.

    _images/psuh.PNG
  7. Open your respository on Github to confirm that your new files are stored in your new respository.