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.
+
1. Change to the root directory of the repository directory. Check if origin is defined to your Github repository.
 
<br>
 
<br>
  
2. Run this commands. Do this to add all files, commit changes and update the Github repository
+
2. Run this commands. Do this to add all files, commit changes and upload the changes to the Github repository
  
 
<pre>git add .</pre>  
 
<pre>git add .</pre>  

Revision as of 20:36, 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.

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