0

I want to upload a bootstrap folder into bitbucket using sourcetree, but it doesn't recognize my folder when I copy it onto my local repository. I can create simple text files that are noticed, but Sourcetree doesn't respond to the folder.

2 Answers2

1

Git does not track empty directories. If that is what you were trying to do, consider this question: How can I add an empty directory to a Git repository?

alfunx
  • 3,080
  • 1
  • 12
  • 23
1

Just create a .gitignore file inside that directory that contains these two lines:

* !.gitignore

Aakash Pahuja
  • 469
  • 4
  • 10