Difference between revisions of "Update existing Github repository with the latest updated and added files and folders"

 
Line 2: Line 2:
 
<br>
 
<br>
  
1. Change to the root directory of the repository directory. Check if origin is defined to your Github repository.
+
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''
 
<br>
 
<br>
  

Latest revision as of 20:41, 4 October 2019

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