GIT + cocos2d-x: What files can be added to gitignore?

I am working with cocos2d-x 3.0 and want to use git. I only want to save important files in git, and not automatically generate files from vs 2013 / logfiles / .... Is there somewhere a .gitignore file for cocos2d-x that ignores everything that is not needed?

Thanks in advance

+4
source share
2 answers

To get started, try the following:

# Mac
.DS_Store

#Java
*.class

# XCode
*.moved-aside
build/*
*.xcworkspace
*.mode1v3
*.mode2v3
*.pbxuser
!default.xcworkspace
!default.mode1v3
!default.mode2v3
!default.pbxuser
*.perspectivev3
profile
xcuserdata
.idea/*

#Cocoa pods
*.old
Pods/*

#cocos2d-x
libs/
bin/
obj/
assets/
gen/
out/
.classpath
.project
.cproject

# backup files
*.bak
*.bak[0-9][0-9]
*.orig
*.orig[0-9][0-9]

# source packages - anywhere
*.tar.bz2
*.tar.gz
*.tar
*.tgz
*.gtgz
+3
source

Everything that is not part of the code sources you create does not need to go into git.

( ), , , , , , git ( , , , ).

+1

Source: https://habr.com/ru/post/1541296/


All Articles