Fireship · @fireship
GitHub Copilot just got promoted to Captain
Uploaded May 1, 2024 · Length 4:01
Summary
GitHub Copilot workspace explained: AI code writing tool for developers
- github copilot
- ai code writing
- developer tools
- productivity boost
- programming future
Transcript preview
The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.
- 0:00
in the near future you'll see this weird
- 0:02
magic button when looking at an issue on
- 0:04
GitHub that's because yesterday GitHub
- 0:06
proudly unveiled its latest crime
- 0:07
against humanity a brand new tool that
- 0:10
wants to change the way we write code
- 0:11
called co-pilot workspace a tool that
- 0:13
can write test and execute its own code
- 0:16
entirely from natural language I think
- 0:18
we all knew this day was coming co-pilot
- 0:20
is no longer just the co-pilot but
- 0:22
finally taking over as Captain it's not
- 0:24
all bad news though we humans will still
- 0:26
have jobs as flight attendants who deal
- 0:28
with the angry confused customers
- 0:30
that mother back there is not real in
- 0:33
today's video we'll find out exactly how
- 0:35
co-pilot workspace works and answer the
- 0:37
question of should I be worried or is
- 0:39
this just more AI programming hype it is
- 0:41
May 1st 2024 and you're watching the
- 0:43
code report it's been just over one year
- 0:46
since GPT 4 was released and at that
- 0:48
time I predicted a tool like this was
- 0:50
coming a tool that can plan write test
- 0:52
and execute its own code using only
- 0:54
natural language instructions like
- 0:56
Jensen Wong recently said now everybody
- 0:58
is a programmer and co-pilot work space
- 1:00
brings us closer to that Vision last
- 1:02
month we talked about Devon which has
- 1:03
now been thoroughly debed and co-pilot
- 1:05
workspace is similar to it but gives the
- 1:07
developer a lot more control let's take
- 1:09
a look at how it works you can trigger
- 1:11
co-pilot workspace by clicking the code
- 1:13
button then describe a feature that you
- 1:14
want to implement in the code or you can
- 1:16
start with a GitHub issue then open it
- 1:18
up in a workspace it'll then take you
- 1:20
through a series of steps with the first
- 1:22
step being the specification here it
- 1:24
will look at the current state of files
- 1:26
in the repo related to the issue and
- 1:28
then propose the edits that it's going
- 1:29
to make in the these files to fix the
- 1:31
issue what's cool about this is that you
- 1:32
can edit this document is so if the plan
- 1:34
doesn't look right you can modify it to
- 1:36
guide the AI in the right direction
- 1:38
after the spec is in place the next step
- 1:40
is the plan here it will list out all of
- 1:42
the affected files and describe the code
- 1:44
changes in each one of them and as
- 1:46
before you can edit this document to
- 1:48
modify the plan then when you submit the
- 1:50
plan it will add these files to a queue
- 1:52
where the AI writes all the codes to
- 1:54
make the changes from there you'll be
- 1:55
able to open up each file and review the
- 1:57
diff to see what actually changed and of
- 1:59
course you can modify this code as


