5 ms·
The branch equivalent is `git checkout foo --`. I wrote a simple shell script[1] that makes that the default, requiring you to do `-- <file>` for files, so ther
by russelldavis 12y ago
The branch equivalent is `git checkout foo --`. I wrote a simple shell script[1] that makes that the default, requiring you to do `-- <file>` for files, so there's never a possibility of ambiguity.
[1] https://gist.github.com/russelldavis/e5173ce1269fae67baaf https://gist.github.com/russelldavis/e5173ce1269fae67baaf