Andrew's Digital Garden

Restoring a group of files in Git

git restore --source=master '*.scss'

Source refers to a branch, but unlike git checkout <branch> -- <file>, this supports wildcards.

[[git]]

Restoring a group of files in Git