Vibe Launchpad
Level 1 · 0 XPSign in
GitHub· Step 6 of 80 cleared in this quest
Step 6 · about 12 minutes

Commit and push a change

The loop you will run thousands of times: change a file, record the change, send it to GitHub.

First, tell Git who you are. It stamps your name on every change, and refuses to record one until it knows.

Terminal
$ git config --global user.name "Your Name"
$ git config --global user.email "you@example.com"
# use the same email as your GitHub account

Now copy your repo down to your computer. On your repo page click the green Code button, copy the HTTPS address, then run this — pasting your own address in place of the one shown.

Terminal
$ git clone https://github.com/yourname/hello-world.git
$ cd hello-world

Open README.md in any text editor, add a line about yourself, and save it. Then record and send the change.

Terminal
# what changed?
$ git status
# include it in the next recorded change
$ git add README.md
# record it, with a message
$ git commit -m "Say who I am"
# send it to GitHub
$ git push

Reload your repo page. Your line is there. Click the commit message to open that single change — its address is what the checkpoint asks for.