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.

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.

Starting Text

vim@sandbox: ~/start.txt
vim
gco=git checkout gst=git status ga=git add gcm=git commit -m gp=git push glg=git log --graph --oneline

Expected Output

vim@sandbox: ~/expected.txt
vim
alias gco='git checkout' alias gst='git status' alias ga='git add' alias gcm='git commit -m' alias gp='git push' alias glg='git log --graph --oneline'

Hold on, cowboy

You gotta sign up to view challenges

New challenges appear every week. They're fun, and insightful

Sign up or sign in now!