Answers for "how to git push empty folder"

1

git push empty folders

Adding a .keep File
Posted by: Guest on April-25-2021
0

git push empty directories

gitkeep@example: ~$ mkdir empty-directory
gitkeep@example:~$ cd empty-directory
gitkeep@example:~$ touch .gitkeep
gitkeep@example:~$ git add .
gitkeep@example:~$ git commit -m "Commit empty folder in Git with gitkeep"
gitkeep@example:~$ git push origin
Posted by: Guest on July-15-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language