0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Difficulty: 4
click for more info
No active XP Potion
Accept a Quest
Login to submit answers
Git is the distributed version control system (VCS). Nearly every developer in the world uses it to manage their code. It has quite a monopoly on VCS. Developers use Git to:
Throughout this course, you'll be using the Boot.dev CLI to run our tests (which are just CLI commands) against your local environment. Install it now if you don't already have it. All the instructions and troubleshooting info are on the GitHub page.
Make sure the Boot.dev CLI install worked:
bootdev --version
If you're stuck, reach out in the help forums of the Discord.
Once the bootdev
command is working, log in and follow the instructions:
bootdev login
Lessons have a series of "commands" that run on your local machine, and a series of tests it will check against the results of the command. There are two ways to run these commands: run
and submit
:
bootdev run <id>
: This will run the commands and show you the results. It's to be used for debugging, but it won't tell you whether or not you've passed the tests explicitly.bootdev run <id> -s
: This will run the commands and give you pass/fail feedback. It will also mark the lesson as complete on the website. If you get it wrong however, you'll potentially lose your sharpshooter spree, so be sure to use run
first!You can copy the run/submit commands with the id ready-to-go from the test panel.
Once you have the CLI installed and you're logged in, copy and paste the run
command from the right into your terminal and execute it. If it's doing what you'd expect (printing rebasing is based
), then run the submit command.
The Boot.dev CLI requires you to be signed in to submit your solution!
Copy/paste one of the following commands into your terminal:
Run
bootdev run 65e6780d-fdde-447a-9898-b30b73793a3a
Submit
bootdev run 65e6780d-fdde-447a-9898-b30b73793a3a -s
Run the CLI commands to test your solution.
Using the Bootdev CLI
The Bootdev CLI is the only way to submit your solution for this type of lesson. We need to be able to run commands in your environment to verify your solution.
You can install it here. It's a Go program hosted on GitHub, so you'll need Go installed as well. Instructions are on the GitHub page.