Adding folders to a git repository while ignoring some subfolders

Posted by madmaze on Stack Overflow See other posts from Stack Overflow or by madmaze
Published on 2010-03-16T19:49:16Z Indexed on 2010/03/16 19:51 UTC
Read the original article Hit count: 183

Filed under:
|
|
|
|

Im trying to add a directory "foo" to my repo, but there are some sub dirs lets call them "bar1", "bar2", "bar3" and "bar4"

Now I want to add foo to my repo, while ignoring foo/bar2 and foo/bar3

is this possible? do i need to add them first and then remove the folders I dont want?

© Stack Overflow or respective owner

Related posts about git

Related posts about add