Skip to content
zero2vibecodelearn vibe coding

What alias does

alias gs='git status': Make a short alias for a long command.

The alias command page covers what it does in general, with an example.

aliasgs=git status
  • alias— command — create a command shortcut
  • gs=git status— the short name, then = and the command it stands for (quoted because it has a space)

What it does when you run it

$ alias gs='git status'
$ alias
alias gs='git status'

Run it yourself

The same files. Nothing here can break, and nothing leaves your browser.

Explain other commands

Written by Mikhail Kuzmitskii