Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

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).
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #git #pull #file
ADD COMMENT
Topic
Name
6+8 =