Git Command | Description | Verify |
---|---|---|
git clone <repo-URL> |
Create local repository from remote repository | Change directory into the repository folder and use ls to view the files |
git commit -am "<commit-message>" |
Commit current changes to the local repository | git log |
git log |
View commit log | |
git push |
Update remote repository from local repository | Verify on GitHub |
git pull |
Update local repository from remote repository | git log or git status |