Git: Checkout files/folders from another branch
1 February 2023 (Updated 1 February 2023)
Syntax:
git checkout <branch> -- <files-or-folders>
Example:
git checkout master -- tsconfig.json
Tagged:
Git
Thanks for your comment 🙏. Once it's approved, it will appear here.
Leave a comment