Answer the question
In order to leave comments, you need to log in
How to clone not all files from a Git repository?
Hello. There is a repository on BitBucket that stores all site template files, as well as SASS and GRUNT files. It also has folders in which .js and .css files are compiled. I need to get only these folders, excluding other files. How to set it up?
Answer the question
In order to leave comments, you need to log in
it was necessary to set up .gitignore right away and not commit the compiled files to git
, now you can fix it and then do git rm -rf --cached build (or wherever they are) and commit this thing.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question