Thursday 25 July 2019

Git-Part 4: Undoing and Discarding Changes

post

Undoing: Discarding Unstaged Changes

● Scenario:

You edited file(s) but you have not yet staged them ( i.e. git add ).

How do I discard the changes?

Sunday 21 July 2019

Git- Part 3: Git Staging, Viewing Changes, Push and Pull, Dangers of Git Pull

Git Basics: Staging Files

● Command: git add <path|file>

● Staging Area (aka Index) allows you to selectively choose which files

will be committed and which will NOT (e.g debug files)

Wednesday 17 July 2019

Git- Part 2: Cloning a repo and making changes

Git Basics: Cloning a Repo

Command: git clone [directory]

Wednesday 3 July 2019

Git- Part 1: Intro to Git

Introduction: What is Version Control?

● Version Control System (VCS) is a system used for tracking

changes to content (aka source control).

● Crucial for collaboration:

◆ Who made the change?

◆ What was the change?

◆ When was the change made?