Reputation: 77631
On this site it explains how to use the command...
git checkout <branch_name> -- <paths>
But the paths
is plural.
Does this mean we can specify several paths in one command?
If so, what is the syntax for this?
Upvotes: 0
Views: 160
Reputation: 53563
Does this mean we can specify several paths in one command?
Yep, just separate them by spaces:
git checkout -- path/to/file some/other/file even/more/files
Upvotes: 3