-1

I used GitHub's "import repository" functionality to import my repository from SVN to GitHub.

But, it did not import the "tmp" and "vendor" directories (as I've just discovered, maybe other directories too), apparently because they're empty.

Is there any way to force GitHub to import them all regardless?

zcoop98
  • 2,590
  • 1
  • 18
  • 31
Malus Jan
  • 1,860
  • 2
  • 22
  • 26

1 Answers1

0

Git doesn't track empty directories. Add a .gitkeep file (no Git significance, any file can be used) to the directory.

goofology
  • 914
  • 2
  • 10
  • 21