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/intro-to-rails/add_the_project_to_a_git_repo.step
+13-2
Original file line number
Diff line number
Diff line change
@@ -20,8 +20,7 @@ initialized a new repository in a hidden directory called `.git`."
20
20
console "git status"
21
21
22
22
message "`git status` tells you everything git sees as modified, new, or missing."
23
-
message "The first time you run this, you should see a ton of stuff."
24
-
message "The second time you run this, you shouldn't see much of anything."
23
+
message "You should see a ton of stuff under `Untracked files`."
25
24
end
26
25
27
26
step do
@@ -42,12 +41,24 @@ initialized a new repository in a hidden directory called `.git`."
42
41
end
43
42
end
44
43
44
+
step do
45
+
console "git status"
46
+
47
+
message "Now you should see a bunch of files listed under `Changes to be committed`."
48
+
end
49
+
45
50
step do
46
51
console "git commit -m \"Added all the things\""
47
52
message "`git commit` tells git to actually _do_ all things you've said you wanted to do."
48
53
message "This is done in two steps so you can group multiple changes together."
49
54
message "`-m \"Added all the things\"` is just a shortcut to say what your commit message is. You can skip that part and git will bring up an editor to fill out a more detailed message."
50
55
end
56
+
57
+
step do
58
+
console "git status"
59
+
60
+
message "Now you should see something like `nothing to commit, working directory clean` which means you've committed all of your changes."
0 commit comments