Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git checkout specific file types only

# BASH (Non-Fish compliant script)
git checkout origin/master -- `git ls-tree origin/master -r --name-only | grep ".pex"`
Source by newbedev.com #
 
PREVIOUS NEXT
Tagged: #git #checkout #specific #file #types
ADD COMMENT
Topic
Name
8+1 =