0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Difficulty: 3
click for more info
No active XP Potion
Accept a Quest
Login to submit answers
You'll see a big scary word in the Git world called HEAD
. Branches are references to commits, and HEAD
is a reference to the branch you're currently on. All this to say, in Grug speak:
HEAD
mean where me at now
For example, you should be on the main
branch of your local clone of your fork of the official MegaCorp™ repo. Which means, HEAD
is pointing to the main
branch. Like all things in .git
's internals, HEAD
is just stored in a file.
cat .git/HEAD
Run and submit the CLI tests.
To delete a branch locally while in a different branch:
git branch -D branch_name
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 a42f300a-1a89-4ecc-b8f1-39ee88b0a17d
Submit
bootdev run a42f300a-1a89-4ecc-b8f1-39ee88b0a17d -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.