Skip to content

Commit 03cefb1

Browse files
authored
update GitHub.dev to VSCode.dev/GitHub
1 parent 34f27cb commit 03cefb1

1 file changed

Lines changed: 14 additions & 13 deletions

File tree

source/ch-first-repo.ptx

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ down the line.
126126
</p>
127127
</section>
128128
<section xml:id="sec-using-github-dev">
129-
<title>Using <c>GitHub.dev</c></title>
129+
<title>Using <c>VSCode.dev/GitHub</c></title>
130130
<p>
131131
Using the <c>GitHub.com</c> interface to author or edit just one file
132132
can be useful (I do this all the time to make quick typo fixes on
@@ -137,7 +137,7 @@ that you need to include in your work as well.
137137
</p>
138138
<p>
139139
One way to quickly be able to manage several files at once is
140-
to use the <url href="https://github.dev">GitHub.dev</url> service
140+
to use the <url href="https://VSCode.dev/GitHub">VSCode.dev/GitHub</url> service
141141
offered by GitHub. Try clicking that link - you should have a
142142
fully-functional VS Code text editor right inside your web browser.
143143
</p>
@@ -146,23 +146,24 @@ fully-functional VS Code text editor right inside your web browser.
146146
It's best to use an updated version
147147
of Chrome, Edge, or Firefox when using GitHub. In particular, Safari tends
148148
to show off its rough edges when using advanced web applications like
149-
<c>GitHub.dev</c>, so it's best to choose an alternative.
149+
<c>VSCode.dev/GitHub</c>, so it's best to choose an alternative.
150150
</p>
151151
</note>
152152
<p>
153153
You can create files, edit them, upload images, and do whatever you
154-
like at <c>GitHub.dev</c>. But this isn't your repository - it's just an
155-
example. So, we'll need a way to tell <c>GitHub.dev</c> we want to work on
154+
like at <c>VSCode.dev/GitHub</c>. But this isn't your repository - it's just an
155+
example. So, we'll need a way to tell <c>VSCode.dev/GitHub</c> we want to work on
156156
the repository we just made instead.
157157
</p>
158158
<note xml:id="opening-github-dev">
159159
<p>
160-
There are two very easy ways to access the <c>GitHub.dev</c> service.
160+
There are two very easy ways to access the <c>VSCode.dev/GitHub</c> service.
161161
The first is to just
162162
change the address of your repository from <c>GitHub.com</c> to
163-
<c>GitHub.dev</c> in your browser. For example, if your repository lives at
163+
<c>VSCode.dev/GitHub</c> in your browser. For example, if your repository lives at
164164
<c>https://github.com/YourUserName/YourGreatRepo</c>, you should visit
165-
<c>https://github.dev/YourUserName/YourGreatRepo</c>.
165+
<c>https://VSCode.dev/GitHub/YourUserName/YourGreatRepo</c> (or just
166+
<c>https://github.dev/YourUserName/YourGreatRepo</c> for short).
166167
</p>
167168
<p>
168169
The other trick is even fancier. When you are visiting
@@ -171,12 +172,12 @@ and not writing in a text box, press the period (<kbd>.</kbd>) key.
171172
</p>
172173
</note>
173174
<p>
174-
Either way, you should now have a <c>GitHub.dev</c> window where you can manage
175+
Either way, you should now have a <c>VSCode.dev/GitHub</c> window where you can manage
175176
all the files of your project. Using the <term>Explorer</term> sidebar
176177
(<xref ref="fig-explorer"/>), you can create
177178
new files, rename files, move files, upload files, and more. Selecting
178179
a file opens it, and lets you edit it as needed. Your changes are saved
179-
automatically in <c>GitHub.dev</c>, but they won't show up at <c>GitHub.com</c> just yet.
180+
automatically in <c>VSCode.dev/GitHub</c>, but they won't show up at <c>GitHub.com</c> just yet.
180181
</p>
181182
<figure xml:id="fig-explorer">
182183
<image width="60%" source="screenshots/codespace-explorer-newfile.png"/>
@@ -204,21 +205,21 @@ you can easily see where exactly a change is made between each commit.)
204205
</p>
205206
<p>
206207
The idea is this: edit as you see fit, knowing that your files are being
207-
saved at <c>GitHub.dev</c> and won't be lost if you accidentally refresh your
208+
saved at <c>VSCode.dev/GitHub</c> and won't be lost if you accidentally refresh your
208209
web browser. However, you'll need to eventually commit those changes to
209210
the repository in order to share your work with anyone else, and to ensure
210211
that the work is preserved in the long term. The Source Control panel
211212
provides a place to write a <term>commit message</term>, a short
212213
phrase or sentence that summarizes the work you've done. (Writer's block?
213-
For now just type <q>learning GitHub.dev</q>.) Then once you click
214+
For now just type <q>learning VSCode.dev/GitHub</q>.) Then once you click
214215
the <q>Commit and Push</q> button, your work will be logged as a permanent
215216
commit to the repository.
216217
</p>
217218
<p>
218219
This is a good point to review your commit history again. You probably
219220
have three commits: the initial commit made when you created the repository,
220221
the <c>README.md</c> update you made using <c>GitHub.com</c>'s editing interface,
221-
and this more elaborate <c>GitHub.dev</c> commit involving possibly several files.
222+
and this more elaborate <c>VSCode.dev/GitHub</c> commit involving possibly several files.
222223
To visualize this history, you can go to the Insights/Network page
223224
described earlier, or click on the <q>3 commits</q> link
224225
from your <c>GitHub.com</c> repository

0 commit comments

Comments
 (0)