Skip to content

Commit 7b13f3c

Browse files
committed
Move explanation of git and GitHub to first use
1 parent 3ff00ba commit 7b13f3c

File tree

2 files changed

+42
-43
lines changed

2 files changed

+42
-43
lines changed

sites/en/frontend/deploying_to_github.step

+42
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,45 @@ steps do
6666
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!"
6767
end
6868
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 &mdash; 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.
108+
109+
MARKDOWN
110+
end

sites/en/frontend/deploying_to_github_again.step

-43
Original file line numberDiff line numberDiff line change
@@ -32,46 +32,3 @@ step "Visit your site" do
3232
message "Go to your browser and navigate to **[your-github-user-name].github.io**"
3333
message "You should see the changes you made, but ON THE INTERNET!"
3434
end
35-
36-
37-
explanation do
38-
message <<-MARKDOWN
39-
40-
## What is Git?
41-
42-
Git is an open-source tool for tracking and managing changes to source code. If you've
43-
used tools like SVN or CVS, you can use Git to do the same things.
44-
45-
Git is not required for front end development at all &mdash; some people use other source
46-
control tools like SVN, and there are wild and crazy coders who don't use source control
47-
at all.
48-
49-
### But here are some good reasons to use a source control system:
50-
51-
* You can commit different/earlier versions of a project, and get them back
52-
later if you change your mind.
53-
* It's easy to also copy these versions to another server or computer, so you
54-
have a backup if your laptop is stolen or your hard drive gets damaged.
55-
* Other coders can more easily work on a project with you. Source control
56-
systems have an automated way to 'merge' or combine changed files together.
57-
58-
### And there are some neat things about Git specifically:
59-
60-
* Git is distributed. Each person or computer working on the project has a full
61-
copy of it. There isn't a remote server you have to connect to that has the
62-
'official' copy somewhere.
63-
* Git makes it easy to 'branch' or work separately for a while on an alternate
64-
version of the project, and then 'merge' those changes back in if you want to.
65-
* Git is ultra-powerful, and even many experienced developers are mystified
66-
by its wily ways.
67-
68-
## What is GitHub?
69-
70-
GitHub is a web application that will store copies of your git repositories for you.
71-
It's a convenient place to keep a backup of your projects, and it has a nice-looking
72-
web interface that makes it easy to see your files and changes.
73-
74-
Projects that you make public (i.e. open source) can be stored on GitHub for free.
75-
76-
MARKDOWN
77-
end

0 commit comments

Comments
 (0)