https://github.com/kentico/ems-gitignore
This gitignore file is designed to help you ignore/include all the right files in your Git repository for Kentico projects.
https://github.com/kentico/ems-gitignore
kentico kentico-cms kentico-ems
Last synced: 5 months ago
JSON representation
This gitignore file is designed to help you ignore/include all the right files in your Git repository for Kentico projects.
- Host: GitHub
- URL: https://github.com/kentico/ems-gitignore
- Owner: Kentico
- License: mit
- Created: 2016-09-21T15:08:43.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2021-02-23T14:14:28.000Z (over 5 years ago)
- Last Synced: 2025-02-05T04:40:29.380Z (over 1 year ago)
- Topics: kentico, kentico-cms, kentico-ems
- Homepage:
- Size: 21.5 KB
- Stars: 11
- Watchers: 31
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Kentico Gitignore
This gitignore file is designed to help you ignore/include all the right files in your Git repository for Kentico projects.
## Important notes
1. Uses the default ignore from Visual Studio as the starting point.
1. Tested in **Kentico 9** only.
1. **Ignores** the `bin` directory and **includes** the `Lib` directory.
* You can restore the Kentico DLLs from the `Lib` directory after restoring a repository for the first time.
1. **Ignores** starter site files.
More information at http://devnet.kentico.com/articles/gitignore-for-kentico
## Protecting sensitive settings
Even if your repository is only intended for private distribution you should avoid allowing sensitive and/or environment specific data such as connection string and hash string salts from being checked into your source control. rather than ignore the whole `web.config` file, we recommend adding `file="AppSettings.config"` and `configSource="ConnectionStrings.config"` to the app settings and connection strings elements in the `web.config` respectively. Next, move the sensitive data to those files. It is also recommended that you also add template versions of these files for reference. When pulling a fresh copy of the repository the developer should request a copy of any sensitive data from another developer or some other secured location. You can find an example of this practice in the [Kentico MVC sample site on GitHub](https://github.com/Kentico/Mvc/tree/master/src/DancingGoat).