Forum Navigation
You need to log in to create posts and topics.

Exclude files from your projects

Problem

user wants to exclude files such as compiled binaries, logs, etc.. from adding to the project

Solution

Use gitignore settings

cd project directory

touch .gitignore

git config --global core.excludesFile .gitignore

edit the file .gitignore and make sure to put relative path ( include directories ) for the files you want to exclude

Project/logs/daemon.log

Project/logs/*.log