Class 03
Contents
- Home Page
- Class 01
- Class 02
- Class 03
- Class 04
- Class 04 Website
- Class 05 Website
- Class 05
- Class 06 Website
- Class 06
- Class 07 Website
- Class 07
- Class 08
- Class 08 Website
GIT and repositories
GIT is a tool used for creating collaborative projects as well as providing remote storage to back up your work.
There are many GIT based services, one of the most popular being Github. Bitbucket is largely popular amoung businesses due to their integration with other software. Gitlab is another competitor.
GIT commands
git initInitializes a git repository locallygit addAdds files/folders to be trackedgit commit*Commits tracked changes to the repository, you can add-m 'Your message here'to add a message to a commit. Messages should show why you are commiting changes.git pushpushes changes from your local directory to the remote directory.git pullpulls and merges changes from remote to local.git cloneclones a remote directory to your local machine.