Linux

What a double dash (--) mean?

Difficulty: unrated

Source: bregman-arie/devops-exercises by Arie Bregman

Answer

It's used in commands to mark the end of commands options. One common example is when used with git to discard local changes: git checkout -- some_file