You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>These benefits exist on all software projects. Therefore version control is
51
-
a necessity regardless of time size or the programming ecosystem used. Every
47
+
back to previous working versions of the code. </p>
48
+
<p>Source control also makes team software development easier. One developer
49
+
can combine her code modifications with other developers' code through
50
+
<ahref="http://en.wikipedia.org/wiki/Diff">diff</a> views that show line-by-line
51
+
changes then merge the appropriate code into the main code branch.</p>
52
+
<p>Version control is a necessity on all software projects regardless of
53
+
development time, codebase size or the programming language used. Every
52
54
project should immediately begin by using a version control system such
53
55
as Git or Mercurial.</p>
54
-
<p><imgsrc="theme/img/app-source-control.png" width="100%" class="technical-diagram" alt="App deployment uses a server to pull from the source control system."></p>
56
+
<h2>Source control during deployment</h2>
55
57
<p>Pulling code during a deployment is a potential way source control systems fit
56
58
into the deployment process. </p>
59
+
<p><imgsrc="theme/img/app-source-control.png" width="100%" class="technical-diagram" alt="App deployment uses a server to pull from the source control system."></p>
57
60
<p>Note that some developers recommend deployment pipelines package the source
58
61
code to deploy it and never have a production environment touch a source
59
62
control system directly. However, for small scale deployments it's often
Copy file name to clipboardExpand all lines: source/content/pages/03-deployment/0313-source-control.markdown
+13-9Lines changed: 13 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,26 +17,30 @@ choice4text:
17
17
18
18
19
19
# Source control
20
-
Source control systems, also known as version control systems, store code
21
-
and other static files, such as images, with a history of the changes made to
22
-
those files.
20
+
Source control, also known as *version control*, stores software code files
21
+
with a detailed history of every modification made to those files.
23
22
24
23
## Why is source control necessary?
25
24
Version control systems allow developers to modify code without worrying
26
25
about permanently screwing something up. Unwanted changes can be easily rolled
27
-
back. Developers can merge changes with other developer's code through
28
-
[diff](http://en.wikipedia.org/wiki/Diff) views.
26
+
back to previous working versions of the code.
29
27
30
-
These benefits exist on all software projects. Therefore version control is
31
-
a necessity regardless of time size or the programming ecosystem used. Every
28
+
Source control also makes team software development easier. One developer
29
+
can combine her code modifications with other developers' code through
30
+
[diff](http://en.wikipedia.org/wiki/Diff) views that show line-by-line
31
+
changes then merge the appropriate code into the main code branch.
32
+
33
+
Version control is a necessity on all software projects regardless of
34
+
development time, codebase size or the programming language used. Every
32
35
project should immediately begin by using a version control system such
33
36
as Git or Mercurial.
34
37
35
-
<imgsrc="theme/img/app-source-control.png"width="100%"class="technical-diagram"alt="App deployment uses a server to pull from the source control system.">
36
-
38
+
## Source control during deployment
37
39
Pulling code during a deployment is a potential way source control systems fit
38
40
into the deployment process.
39
41
42
+
<imgsrc="theme/img/app-source-control.png"width="100%"class="technical-diagram"alt="App deployment uses a server to pull from the source control system.">
43
+
40
44
Note that some developers recommend deployment pipelines package the source
41
45
code to deploy it and never have a production environment touch a source
42
46
control system directly. However, for small scale deployments it's often
0 commit comments