I tried few times and failed to push empty folder, any way to push empty folder to azdo from VS.
Asked
Active
Viewed 2,056 times
2 Answers
1
For this issue, in Git, you cannot commit empty folders, because Git does not actually save folders, only files. You'll have to create some placeholder file inside those directories if you actually have no committable content.
You can refer to this How can I add an empty directory to a Git repository? and this official document.

Hugh Lin
- 17,829
- 2
- 21
- 25
1
You can add .gitkeep file inside this directory.

Rob Ert
- 442
- 5
- 23
-
No, file '.gitkeep' is just placeholder – Rob Ert Nov 21 '19 at 16:16