Created
March 11, 2024 01:44
-
-
Save cnleo/dd104001a7f09fdd25b6f613432bc10d to your computer and use it in GitHub Desktop.
gitignore
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
# ignore everything: * | |
# and what ever you do, setup .gitignore as exeption from ignoring: !.gitignore | |
# https://git-scm.com/docs/gitignore | |
# https://gist.github.com/bennlee/92ffaa27eea326da46e538a80c3eebae | |
# https://git-scm.com/docs/git-check-ignore | |
* | |
!.gitignore | |
# Moste classics: | |
!LICENSE | |
!README.md | |
# negate ignoring everything; or whitelisting: | |
# all directories: !*/ | |
# all directories with name "folder": !folder/ | |
# specific directory with name "folder": !/path/to/folder/ | |
# all directories in a directory with name "folder": !folder/*/ | |
# all directories in a specific directory with name "folder": !/path/to/folder/*/ | |
# all files: !* | |
# all files in all directories: !*/* | |
# files in folders: !/* | |
# or !folder/* | |
#!.gitignore | |
#!folder/ | |
#!*/* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment