Update existing Github repository with the latest updated and added files and folders

Revision as of 20:41, 4 October 2019 by Ardaut (talk | changes)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

How to update existing Github repository with the latest updated and added files and folders.

1. Change to the root directory of the repository directory. Check if origin is defined to your Github repository. You can check that with this command: git remote -v

2. Run this commands. Do this to add all files, commit changes and upload the changes to the Github repository

git add .
git commit -m "ADD YOUR TEXT HERE"
git pull origin master