Committing to GitHub repository
less than a minute
When you needed to work on a document from a GitHub repository, you need to create a clone first on your own desktop (or where ever you want to have it). After creating this clone (a description for that can also be found here: Cloning a project’s repo to your desktop) you worked on the document and saved it locally. But how can you sync it with the GitHub repository again?
Instructions
Go to MS VS Code and there open the terminal. Then go to the folder that you got cloned to your desktop using the command
cdNow that you have that folder selected use the command
github add .
Then type
git commit -m “your message/comment on the commit”
Last step:
git pushyou will see it updating. When ready on GitHub you can see the new commit to the corresponding repo.