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
Copy file name to clipboardExpand all lines: sites/en/frontend/deploying_to_github.step
+42
Original file line number
Diff line number
Diff line change
@@ -66,3 +66,45 @@ steps do
66
66
message "In a few minutes time, when you visit [your-github-user-name].github.io in a browser, you should see a blank white page: this is great! You're looking at the index.html file you just created, now live on the web!"
67
67
end
68
68
end
69
+
70
+
explanation do
71
+
message <<-MARKDOWN
72
+
73
+
## What is Git?
74
+
75
+
Git is an open-source tool for tracking and managing changes to source code. If you've
76
+
used tools like SVN or CVS, you can use Git to do the same things.
77
+
78
+
Git is not required for front end development at all — some people use other source
79
+
control tools like SVN, and there are wild and crazy coders who don't use source control
80
+
at all.
81
+
82
+
### But here are some good reasons to use a source control system:
83
+
84
+
* You can commit different/earlier versions of a project, and get them back
85
+
later if you change your mind.
86
+
* It's easy to also copy these versions to another server or computer, so you
87
+
have a backup if your laptop is stolen or your hard drive gets damaged.
88
+
* Other coders can more easily work on a project with you. Source control
89
+
systems have an automated way to 'merge' or combine changed files together.
90
+
91
+
### And there are some neat things about Git specifically:
92
+
93
+
* Git is distributed. Each person or computer working on the project has a full
94
+
copy of it. There isn't a remote server you have to connect to that has the
95
+
'official' copy somewhere.
96
+
* Git makes it easy to 'branch' or work separately for a while on an alternate
97
+
version of the project, and then 'merge' those changes back in if you want to.
98
+
* Git is ultra-powerful, and even many experienced developers are mystified
99
+
by its wily ways.
100
+
101
+
## What is GitHub?
102
+
103
+
GitHub is a web application that will store copies of your git repositories for you.
104
+
It's a convenient place to keep a backup of your projects, and it has a nice-looking
105
+
web interface that makes it easy to see your files and changes.
106
+
107
+
Projects that you make public (i.e. open source) can be stored on GitHub for free.
0 commit comments