gitignore all thing inside a dicrectory code example
Example: git ignore content of a folder
# exclude everything
somefolder/*
# exception to the rule
!somefolder/.gitkeep
# exclude everything
somefolder/*
# exception to the rule
!somefolder/.gitkeep