Extra things to try

[«PREVIOUS: Websites with GitHub pages»]

Revert a commit

Imagine you’ve made a mistake, and committed something you didn’t intend to - maybe code that broke everything, or you added a file you didn’t intend to add. You can revert commits - in GitHub Desktop, try right clicking on the commit in the history panel. You’ll have to commit the revert - it doesn’t erase the

Ignore files

Sometimes there are files you don’t want to commit to your repository. Examples might the the .DS_Store file automatically generated on Mac systems, or autosave backup files that some text generators add. Such files can be excluded from showing up as modified if they are included in the .gitignore file. More information about using gitignore can be found here.

A few more things

[«PREVIOUS: Websites with GitHub pages»]