Created
September 25, 2021 12:50
-
-
Save makzan/b39259819afd782019db6b8ef9888225 to your computer and use it in GitHub Desktop.
Example of adding an empty folder to git version control
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ mkdir images | |
$ touch images/.gitkeep | |
$ git status | |
On branch master | |
Untracked files: | |
(use "git add <file>..." to include in what will be committed) | |
images/ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment