Skip to content

Instantly share code, notes, and snippets.

@makzan
Created September 25, 2021 12:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save makzan/b39259819afd782019db6b8ef9888225 to your computer and use it in GitHub Desktop.
Save makzan/b39259819afd782019db6b8ef9888225 to your computer and use it in GitHub Desktop.
Example of adding an empty folder to git version control
$ 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