Forum breadcrumbs – You are here:Tracston Community Forum
Micro Services, Cloud, Infrastructure, Development, Monitoring and more…Development: GIT – Code RepositoryExclude files from your projects
Micro Services, Cloud, Infrastructure, Development, Monitoring and more…Development: GIT – Code RepositoryExclude files from your projects
You need to log in to create posts and topics.
Exclude files from your projects

moshe@moshe
30/03/2021, 7:17 am
Quote from moshe on 30/03/2021, 7:17 amProblem
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
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
Click for thumbs down.0Click for thumbs up.0
All content available through this Web Site is provided on an “AS IS” and “AS AVAILABLE” basis, with all faults. Tracston LTD makes no warranty or representation with respect to the quality, accuracy, or availability of the Web Site or any of its content.