They are quite useful, but may not be well-known. By default, Git doesn’t track empty directories. A file must exist within it. We can use the .gitkeep file to add empty directories into a git repo. In the below figure, we cherry-pick C D E from branch2 ...
↧