0

I want to upload a project 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.

It also contain .git folder, still it is not recognizing folder, anyone please help me to solve this problem.

Hichem BOUSSETTA
  • 1,733
  • 1
  • 21
  • 25
CSK
  • 467
  • 1
  • 5
  • 15
  • Does the folder have any files in it, or is it just an empty directory? – eeijlar Apr 23 '19 at 07:03
  • It's not a empty folder. Files are there. – CSK Apr 23 '19 at 08:39
  • empty folders are not allowed in Git. You have to have alteast one file inside it. see this for more info [https://stackoverflow.com/questions/12258399/how-to-create-folder-in-github-repository](https://stackoverflow.com/questions/12258399/how-to-create-folder-in-github-repository) – Suryakant Sharma Apr 23 '19 at 09:34
  • Actually folder is not empty. It contains so many files. I am doing project in angular6. Project got completed, and I need to put that project folder in bitbucket, using source tree. – CSK Apr 23 '19 at 11:37

0 Answers0