Answers for "how do I just pull one file from a branch in git"

2

git pull one file

git checkout origin/master -- path/to/file
// git checkout <local repo name (default is origin)>/<branch name> -- path/to/file will checkout the particular file from the downloaded changes (origin/master).
Posted by: Guest on September-29-2020

Code answers related to "how do I just pull one file from a branch in git"

Browse Popular Code Answers by Language