Git Linux SSH Script - nrubera/SYS-265-03-Tech-Journal GitHub Wiki

Git

Git is a version control tool that can be used remotely on a variety of operating systems. You can create local repo and then put it on your GitHub to view online. You can then clone that same repo onto another computer.

Git Commands

git clone https://github.com/repo is used in order to clone a remote repo onto your local machine. The syntax is listed, replace "repo" with the url for the repo you wish to clone

Adding changes from the local repo to the remote repo that can be seen on GitHub is only a few commands. You first want to use git add (file name) to add it to the commit you want. You then use git commit -m "message". Lastly, you use git push to push the new files/changes to the repo on GitHub.

To sync your local repo with the remote one on GitHub all you have to do is use git pull . This command will bring your local repo up to date.