Difference between revisions of "Source Control"

From Coder Merlin
(Created page with "thumb|Undo-redo == Prerequisites == * W1002 The Client, the Server, and the Shell * W1004 Emacs * W1005 Digital Journal == Background == * R...")
 
Line 8: Line 8:
== Introduction ==
== Introduction ==
'''Source control''' enables us to ''track'' and ''manage'' changes to our code.  This functionality becomes increasingly critical as the size of our projects grows both in terms of the lines of code and the number of coders.  Source control shows us ''who'' changed the code and ''when''.  We're able to ''compare'' one '''revision''' of code to another.  And, when necessary, we can '''rollback''' changes to a previous revision.
'''Source control''' enables us to ''track'' and ''manage'' changes to our code.  This functionality becomes increasingly critical as the size of our projects grows both in terms of the lines of code and the number of coders.  Source control shows us ''who'' changed the code and ''when''.  We're able to ''compare'' one '''revision''' of code to another.  And, when necessary, we can '''rollback''' changes to a previous revision.
== Topic Headers ==
== Git ==
There are many options to choose from when selecting a source control system.  We'll be using one called '''git''', created by Linus Torvalds in 2005.  It's a '''distributed version-control system''', meaning that every Git directory on every computer is a repository with a complete history and full version-tracking abilities. 
== Configuration ==
 
== Key Concepts ==
== Key Concepts ==
== Exercises ==
== Exercises ==
== References ==
== References ==
* [https://en.wikipedia.org/wiki/Git Git (Wikipedia)]
* [https://en.wikipedia.org/wiki/Git Git (Wikipedia)]

Revision as of 21:57, 8 July 2019

Within these castle walls be forged Mavens of Computer Science ...
— Merlin, The Coder
Undo-redo

Prerequisites[edit]

Background[edit]

Introduction[edit]

Source control enables us to track and manage changes to our code. This functionality becomes increasingly critical as the size of our projects grows both in terms of the lines of code and the number of coders. Source control shows us who changed the code and when. We're able to compare one revision of code to another. And, when necessary, we can rollback changes to a previous revision.

Git[edit]

There are many options to choose from when selecting a source control system. We'll be using one called git, created by Linus Torvalds in 2005. It's a distributed version-control system, meaning that every Git directory on every computer is a repository with a complete history and full version-tracking abilities.

Configuration[edit]

Key Concepts[edit]

Exercises[edit]

References[edit]