Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 675 Bytes

File metadata and controls

13 lines (10 loc) · 675 Bytes

practice_git

What is version control?

Version control keeps track of every modification to the code in a special kind of database

Why do we use version control?

Version control is like a backup for your project, ensuring that the source code is protected. It also allows developers to work faster and more efficiently and allows teams to scale up.

Git Commands to practice:

  1. git status - list all new or modified files to be committed
  2. git add filename - snapshots the file in preparation for versioning
  3. git commit -m “descriptive message” - records file snapshots permanently in version history
  4. git push - uploads all local commits to your Github