- Make sure to setup .gitignore to avoid accidental commits of files with sensitive information (e.g. config.json - this file contains the token)
- Global .gitignore (placed in the home directory)
- e.g. OS and editor-specific files
- Project .gitignore (placed in the top level directory of the repository):
- e.g. Programming language and project specific files
- Personal git ignore file .git/info/exclude` is not committed to the repository
- e.g. custom logs, personal development tools files
- Global .gitignore (placed in the home directory)
- GitHub has a collection of .gitignore file templates
- gitignore.io can also be used as reference
Worked on a Discord bot
With Discord.js