Skip to content

Glossary: Git Beyond the Basics

command substitution

Also written: $(command)

Writing `$(command)` puts that command's output in its place, so `files=$(ls)` stores the file list in a variable.

Where the book teaches it

Related terms

hookexit status