Android and version control systems, commit gen folder or put on ignore list?
Asked Answered
H

1

11

there has already been some discussion about the problems the gen folder causes together with version control systems (SVN, CVS, Git etc). But what is still unclear for me is, should it be commited or put on the ignore list? What is the recommended way?

thanks!

Hoad answered 15/1, 2011 at 10:30 Comment(2)
Good answer to the question here : #4371168Overcritical
See also github.com/github/gitignore/blob/master/Android.gitignoreGuesstimate
C
13

You shouldn't store /gen folder in any version control system (no matter SVN, CVS, Git or anything else). Contents of the folder are generated automatically so it just makes no sense to keep track of the changes.

Calk answered 15/1, 2011 at 10:38 Comment(2)
ok, i should not store it, but should i put it also on the ignore list?Hoad
@Hoad I'd say yes, put it onto the ignore list cause that prevents anybody else from accidental storing of the folder into a repo.Calk

© 2022 - 2024 — McMap. All rights reserved.