Posts

Showing posts with the label directory

Git Commit Empty Directory

Image
Git Commit Empty Directory . Alternatively, you can use any other file. The easy solution is putting an empty stub file within the directory, and the industry standard for that stub file name is.gitkeep. github when using "git add ." it only add the folder to repository from stackoverflow.com Then you need to set it in the root directory first !.gitignore, and then also create a.gitignore file, and set in the file. You can quickly create the file and commit the empty directory from command line: /build app.js then you add everything so you’ve created so far and commit: