Screen Too Small

This course material requires a larger screen to properly display the terminal and editor interfaces.

Please use a tablet, laptop, or desktop computer for the best learning experience.

You can continue browsing, but the experience will be significantly limited.

Vim Dojo challenge #5

Shell Shocked: Fixing Your Wandering Git Aliases

You (or an overeager teammate) dumped your Git aliases into ~/.zshrc without the proper alias prefix or surrounding single quotes. Before your shell breaks, let’s correct the syntax.

challenge.txt :set list

Start

 1gco=git checkout
 2gst=git status
 3ga=git add
 4gcm=git commit -m
 5gp=git push
 6glg=git log --graph --oneline

Goal

 1alias gco='git checkout'
 2alias gst='git status'
 3alias ga='git add'
 4alias gcm='git commit -m'
 5alias gp='git push'
 6alias glg='git log --graph --oneline'

Members only

Hold on, cowboy

You gotta sign in to take on challenges. New ones drop every week — they're fun, and insightful.