Make commit online#

This page will show you how to make commits to the remote repository on GitHub directly from the web browser. If you only have small changes to make to a small number of files, this can be faster than doing it with your local repository.

Task 3.1 Edit this file#

To edit this file via the web browser you need to locate it on GitHub on your personal repository you created via the GitHub classroom link. First click on the file in the GitHub repository, then the pencil icon. Replace the comment below with your own content

Task 3.2 Commit your change#

Click on the green button ‘Commit changes’ which ask you for a commit message. The commit message can be useful for reviewing changes, however, especially when working with multiple people. It could be useful to write your commit message such that it completes the following sentence: This commit will….

Once you have made the commit, you should see the rendered version of this page with your changes.

This exercise uses content from https://teachbooks.io/learn-programming/workflows/git/github_desktop/commits_remote.html by Delft University of Technology, licensed with CC BY 4.0 License

By Tom van Woudenberg and Robert Lanzafame, Delft University of Technology. CC BY 4.0, more info on the Credits page of Workbook.