Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 1.16 KB

class3.md

File metadata and controls

36 lines (22 loc) · 1.16 KB

Class 3 Reading Assignment

These are my notes from Module 3

Sharing Code

  • Git is a version control system
  • history of changes to your files

computer is local repository Git hub is remote repository

Version Control

  • Version Control is a system that allows you to revisit various versions of a file or set of files by recording changes. Through version control, one can revert a file or project to a previous version, track modifications and modifying individuals, and compare changes. By utilizing a Version Control System (VCS), mistakes with files can easily be rectified.

Important Terms

  • Snapshots, each saved commit leaves a snapshot of the work done. creating a time stamp of the work done.

  • Local operations, reducing the need for outside sources. still able to get work done without being connected to server.

  • Tracks every change applied to any file or directory that is tracked by git

  • Git is setup in a way where data loss is rare.

  • Files in git reside in three states, committed, modified and staged.

Cheat sheet

  1. git stauts
  2. git add .
  3. git add file name
  4. git commit
  5. git push origin main
  6. -m "message to leave is put here"