Categories
How to add a specific folder to git?
git add . git commit -m "Initial commit" git push -u origin master This will add everything. How about a specific folder?
Answer the question
In order to leave comments, you need to log in
git add directory Will add all files and subdirectories from directory But of course there must be files in directory. empty directories will not be added.
git add directory
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question