-
Notifications
You must be signed in to change notification settings - Fork 0
/
Lesson_2_reflections.rtf
21 lines (20 loc) · 1008 Bytes
/
Lesson_2_reflections.rtf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{\rtf1\ansi\ansicpg1252\cocoartf1344\cocoasubrtf720
{\fonttbl\f0\froman\fcharset0 Times-Roman;}
{\colortbl;\red255\green255\blue255;\red36\green36\blue36;}
\paperw11900\paperh16840\margl1440\margr1440\vieww10800\viewh8400\viewkind0
\deftab720
\pard\pardeftab720
\f0\fs28 \cf2 \expnd0\expndtw0\kerning0
What happens when you initialize a repository? Why do you need to do it?\
We need it so that git can start tracking the repo\
\
How is the staging area different from the working directory and the repository? What value do you think it offers?\
It creates an intermediate snapshot area where we can edit the snapshot as suited to our needs\
\
How can you use the staging area to make sure you have one commit per logical change?\
Stage only the relevant files and then check them out by git diff\
\
\pard\pardeftab720
\cf2 \expnd0\expndtw0\kerning0
What are some situations when branches would be helpful in keeping your history organized? How would branches help?\
Keeping things organised and isolated}