Commit Changes in your Repository using GitHub App

Here's the step-by-step guide on how to save or commit your changes in your local repository and publish it in Github

Commit changes in local repository

  • Go to your local repository and make some changes.

    In this case, we will open the local repository we created in 👉 Create and Publish Repository using GitHub App

    Make some changes to the source code in this repository. (Ensure to hit “Save” when you made the changes) Example: github

  • The changes will be automatically detected by Github Desktop App and will be shown as like this: github

  • Commit these changes in your local repository.

    Committing changes in the local repository means we are “saving” the changes in the tracker or in the history.

    To commit changes, first describe what the changes are in lower part of the left-side pane then hit “Commit” button:

    github

  • The committed changes can be seen in the “History” tab: github

Committed changes in your local repository still lives in your local machine at this point.

Pushing commits in Github

  • To make your commits available in your Github repository, click “Push origin”: github

  • After pushing, go to the repository in Github website and you can see the commits there: github

  • Navigate to the modified file, and can see your changes there: github