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
*This lecture will walk you through the first method
35
35
*_NOTE: A repository is often referred to as a "repo"_
36
36
37
37
---
38
38
39
39
## Start a Repository From Scratch
40
40
41
-
* Either go to your profile page (https://github.com/yourUserNameHere/) and click on "Create a new repo" in the upper righthand corner of the page
41
+
* Either go to your profile page (https://github.com/your-user-name-goes-here/) and click on "Create a new repo" in the upper righthand corner of the page
42
42
43
43
__...OR...__
44
44
@@ -68,15 +68,14 @@ __...OR...__
68
68
## Creating a Local Copy
69
69
70
70
* Now you need to create a copy of this repo on your computer so that you can make changes to it
71
-
72
-
* Open Git Bash
71
+
* Open either Git Bash (for Windows users) or Terminal (for Mac users)
73
72
* Create a directory on your computer where you will store your copy of the repo:
74
73
75
74
```
76
75
$ mkdir ~/test-repo
77
76
```
78
-
79
-
* Navigate to this new directory using the following command:
77
+
* Note: The tilda (`~`) symbol refers to your "home" directory, so this will create a directory called `test-repo` in your home directory
78
+
* Navigate to this new directory using the following command (`cd` stands for "change directory"):
80
79
81
80
```
82
81
$ cd ~/test-repo
@@ -95,7 +94,7 @@ $ git init
95
94
* Point your local repository at the remote repository you just created on the GitHub server
<p>Jeffrey Leek, Assistant Professor of Biostatistics<br/>Johns Hopkins Bloomberg School of Public Health</p>
47
47
</hgroup>
@@ -81,7 +81,7 @@ <h2>Creating a GitHub Repository</h2>
81
81
<li>Start a repository from scratch</li>
82
82
<li>"Fork" another user's repository</li>
83
83
</ol></li>
84
-
<li>We'll start with the first method</li>
84
+
<li>This lecture will walk you through the first method</li>
85
85
<li><em>NOTE: A repository is often referred to as a "repo"</em></li>
86
86
</ul>
87
87
@@ -95,7 +95,7 @@ <h2>Start a Repository From Scratch</h2>
95
95
</hgroup>
96
96
<article>
97
97
<ul>
98
-
<li>Either go to your profile page (<ahref="https://github.com/yourUserNameHere/">https://github.com/yourUserNameHere/</a>) and click on "Create a new repo" in the upper righthand corner of the page</li>
98
+
<li>Either go to your profile page (<ahref="https://github.com/your-user-name-goes-here/">https://github.com/your-user-name-goes-here/</a>) and click on "Create a new repo" in the upper righthand corner of the page</li>
99
99
</ul>
100
100
101
101
<p><strong>...OR...</strong></p>
@@ -147,16 +147,17 @@ <h2>Creating a Local Copy</h2>
147
147
</hgroup>
148
148
<article>
149
149
<ul>
150
-
<li><p>Now you need to create a copy of this repo on your computer so that you can make changes to it</p></li>
151
-
<li><p>Open Git Bash</p></li>
152
-
<li><p>Create a directory on your computer where you will store your copy of the repo:</p></li>
150
+
<li>Now you need to create a copy of this repo on your computer so that you can make changes to it</li>
151
+
<li>Open either Git Bash (for Windows users) or Terminal (for Mac users)</li>
152
+
<li>Create a directory on your computer where you will store your copy of the repo:</li>
153
153
</ul>
154
154
155
155
<pre><code>$ mkdir ~/test-repo
156
156
</code></pre>
157
157
158
158
<ul>
159
-
<li>Navigate to this new directory using the following command:</li>
159
+
<li>Note: The tilda (<code>~</code>) symbol refers to your "home" directory, so this will create a directory called <code>test-repo</code> in your home directory</li>
160
+
<li>Navigate to this new directory using the following command (<code>cd</code> stands for "change directory"):</li>
160
161
</ul>
161
162
162
163
<pre><code>$ cd ~/test-repo
@@ -182,7 +183,7 @@ <h2>Creating a Local Copy</h2>
182
183
<li>Point your local repository at the remote repository you just created on the GitHub server</li>
*This lecture will walk you through the first method
35
35
*_NOTE: A repository is often referred to as a "repo"_
36
36
37
37
---
38
38
39
39
## Start a Repository From Scratch
40
40
41
-
* Either go to your profile page (https://github.com/yourUserNameHere/) and click on "Create a new repo" in the upper righthand corner of the page
41
+
* Either go to your profile page (https://github.com/your-user-name-goes-here/) and click on "Create a new repo" in the upper righthand corner of the page
42
42
43
43
__...OR...__
44
44
@@ -68,15 +68,14 @@ __...OR...__
68
68
## Creating a Local Copy
69
69
70
70
* Now you need to create a copy of this repo on your computer so that you can make changes to it
71
-
72
-
* Open Git Bash
71
+
* Open either Git Bash (for Windows users) or Terminal (for Mac users)
73
72
* Create a directory on your computer where you will store your copy of the repo:
74
73
75
74
```
76
75
$ mkdir ~/test-repo
77
76
```
78
-
79
-
* Navigate to this new directory using the following command:
77
+
* Note: The tilda (`~`) symbol refers to your "home" directory, so this will create a directory called `test-repo` in your home directory
78
+
* Navigate to this new directory using the following command (`cd` stands for "change directory"):
80
79
81
80
```
82
81
$ cd ~/test-repo
@@ -95,7 +94,7 @@ $ git init
95
94
* Point your local repository at the remote repository you just created on the GitHub server
0 commit comments