Skip to content

What should be .gitignored? #15883

@traviswimer

Description

@traviswimer

There are a lot of files generated by cocos2d-x that in general one would want to exclude from version control in their project, but it is really hard to know which files those are. This means any time you build your project there can be hundreds of generated files to check in, and it becomes very confusing. Not to mention, it can cause issues if developing in multiple environments. (http://stackoverflow.com/questions/36928128/compiling-cocos2d-x-project-on-both-linux-and-osx)

One of the great things about cocos2d-x is that you don't necessarily need to have a deep understanding of iOS/Android development. Unfortunately, if you don't understand what all the files and directories are for, it is very difficult to know what can be excluded.

In my opinion it would be great if a .gitignore file was generated when creating a new cocos project, as I assume a large majority of developers are using git as their VCS. Would this be possible?

If not, it would be great if there was at least a list somewhere in the documentation of all the files that should be excluded from version control.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions