Possible duplicate of [difference between "git checkout - . " and "git checkout -- ."](https://stackoverflow.com/questions/44001013/difference-between-git-checkout-and-git-checkout)
– phdMar 22 '19 at 16:46
https://stackoverflow.com/search?q=%5Bgit%5D+difference+%22checkout+-%22
– phdMar 22 '19 at 16:46
1 Answers1
2
git checkout -
is just a shortcut to check out the previously checked out branch.