Integrity 气节Tuesday, January 29, 13- It’s impossible to change the contents of any ﬁle or directory without Git knowing about it- When you do actions in Git, nearly all of them only add data to the Git database. It is verydifficult to get the system to do anything that is not undoable or to make it erase data in anyway As in any VCS, you can lose or mess up changes you haven’t committed yet; but after youcommit a snapshot into Git, it is very difficult to lose, especially if you regularly push yourdatabase to another repository.
index == stagingTuesday, January 29, 13its all about the index
commit == snapshot ‣ not a diff ‣ A commit takes everything in the index and makes a snapshotTuesday, January 29, 13
Branches are just pointers to commitsTuesday, January 29, 13
YOU NEED COLOR git conﬁg color.ui autoTuesday, January 29, 13
What we’ll do • Exercise in Other Assignments • Mess around with Git BranchingTuesday, January 29, 13
A particular slide catching your eye?
Clipping is a handy way to collect important slides you want to go back to later.