What does 'dot' mean in git checkout . command

Jan 15 2021

git

Today I came across a git command named git checkout . and since I had never used or saw it before, I googled to understand the usage for it.

TLDR; it writes content from index. That is, it undoes unstaged local modification.

Resource: The stackoverflow answer has a very good explanation.