Tuesday, 16 May 2017

how to push an empty folder to git repo

you must commit a folder with things.

So solution:

in the folder you just need to add a .gitignore file, then put below lines into this .gitignore file:

*
!.gitignore

No comments:

Post a comment