1

Is there a model .gitignore file for a CodeLite IDE 15.0.0 workspace?

This answer provides some suggestions for files that should not be added to source control, however it's from 2014 so I'm not sure it's current for 15.0.0. For example, I see a tags file in the workspace root that looks like it probably shouldn't be under source control.

Below is what I'm currently working with.

.codelite
Makefile
*.txt
Debug
*.mk

2 Answers2

2

The best way to get some idea is GitHub or any other source code hosting services.

A quick GitHub search says that below is the common pattern followed most people:

*.mk
*.project
*.workspace
compile_commands.json
Makefile
# generated directories
.codelite/

*.session
*.tags
Asif Kamran Malick
  • 2,409
  • 3
  • 25
  • 47
0

Extending @Asif Kamran Malick's answer a bit is this:

# CodeLite IDE
*.mk
*.txt
*.project
*.workspace
compile_commands.json
Makefile
.codelite/
*.session
*.tags
tags

# Builds
Debug/

I also excluded build files and the tags file.

Saiansh Singh
  • 583
  • 5
  • 16