Skip to content

Commit b9d566c

Browse files
committed
Add folder permissions step and image
1 parent 494f72e commit b9d566c

File tree

2 files changed

+25
-5
lines changed

2 files changed

+25
-5
lines changed

00-quick-start/README.md

Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ If you don't want to install any of the prerequisites, you can use GitHub Codesp
4242

4343
1. [Fork this repository](https://github.com/github/github-copilot-cli-for-beginners/fork) to your GitHub account
4444
2. Click **Code** > **Codespaces** > **Create codespace on main**
45-
3. Wait for the container to build (~2 minutes)
45+
3. Wait a few minutes for the container to build
4646
4. You're ready to go! The terminal will open automatically in the Codespace environment.
4747

4848
> 💡 **Verify in Codespace**: Run `cd samples/book-app-project && python book_app.py help` to confirm Python and the sample app are working.
@@ -84,17 +84,26 @@ curl -fsSL https://gh.io/copilot-install | bash
8484

8585
## Authentication
8686

87-
Open a terminal window, start the CLI, and sign in using the `/login` command:
87+
Open a terminal window at the root of the `github-copilot-cli-for-beginners` repository, start the CLI and allow access to the folder.
8888

8989
```bash
9090
copilot
91+
```
92+
93+
You'll be asked to trust the folder containing the repository (if you haven't already). You can trust it one time or across all future sessions.
94+
95+
<img src="images/copilot-trust.png" alt="Trusting files in a folder with the Copilot CLI" width="800"/>
96+
97+
After trusting the folder, you can sign in with your GitHub account.
98+
99+
```
91100
> /login
92101
```
93102

94103
**What happens next:**
95104

96105
1. Copilot CLI displays a one-time code (like `ABCD-1234`)
97-
2. Your browser opens to GitHub's device authorization page
106+
2. Your browser opens to GitHub's device authorization page. Sign in to GitHub if you haven't already.
98107
3. Enter the code when prompted
99108
4. Click "Authorize" to grant GitHub Copilot CLI access
100109
5. Return to your terminal - you're now signed in!
@@ -111,9 +120,15 @@ copilot
111120

112121
### Step 1: Test Copilot CLI
113122

123+
Now that you're signed in, let's verify that Copilot CLI is working for you. In the terminal, start the CLI if you haven't already:
124+
114125
```bash
115-
copilot
116126
> Say hello and tell me what you can help with
127+
```
128+
129+
After you receive a response, you can exit the CLI:
130+
131+
```bash
117132
> /exit
118133
```
119134

@@ -151,13 +166,18 @@ Navigate back to the repository root first (if you ran Step 2):
151166
cd ../.. # Back to the repository root if needed
152167
copilot
153168
> What does @samples/book-app-project/book_app.py do?
154-
> /exit
155169
```
156170

157171
**Expected output**: A summary of the book app's main functions and commands.
158172

159173
If you see an error, check the [troubleshooting section](#troubleshooting) below.
160174

175+
Once you're done you can exit the Copilot CLI:
176+
177+
```bash
178+
> /exit
179+
```
180+
161181
---
162182

163183
## ✅ You're Ready!
656 KB
Loading

0 commit comments

Comments
 (0)