see the Git Ignore option in the below image.What I have to choose, I am creating an ionic-framework repository.
.gitignore is a file which, Git uses to determine which files and directories to ignore, before you make a commit. These files/directories will not be pushed into the repository.
If you have any files or directories that don't need to be pushed into the repository, then you can include them. (a simple example : log files)
If there is no ionic option, you can ignore it, and create it locally on your repo, then push it back to your GitHub repo.
To create it, see https://www.gitignore.io/api/ionic3
It does generate an Ionic .gitignore
for you.
According to documentation of GitHub, it is the language you are using (hence the language of files that are NOT being ignored). It will create a .gitignore file with a lot of git ignore file types and folders. For example when you select Python from drop down-menu, the .gitignore file has around 150 lines containing commented names of automatically (by compiler, builder, etc.) created files/folders (such as pycache/|.py[cod]|$py.class|.Python|build/|develop-eggs/|dist/|downloads/|eggs/|.eggs/...).
It is worth to mention, that you need not to choose anything and manually create your own .gitignore file later.
© 2022 - 2024 — McMap. All rights reserved.