How to upload into Git

Get into the folder where you have downloaded the git repository.

Use

This will make sure that the remote is there. If not -- use git remote origin master.

Get status. If you have made changes, it will show here. git status

When status is clear...
 

When something has been changed in the file.

 Use git add . to add the files for commit and finally commit the files using git commit -m "<Some relevent comment>"


 Once done upload the same into repository. Use git push origin master



 Check if the repository is updated. Result will be uploaded in the repository.

 

No comments:

Post a Comment