I have a project that looks like this:
src
build
| - build.xml
| - build.properties
The build.properties file will be different on every developers machine.
Generally our teams method is to never commit the build.properties file unless new properties have been added to it.
This solution is not ideal. It means that each dev's properties file isn't versioned unless they do something tricky.
Is there a standard way to handle this kind of thing in Git?
The same issue applies to:
- Properties files
- Project settings (specificity in eclipse)
- Other changes that should be kept and versioned but never pushed to other dev's machines
Thanks!
Edit: It would also be sweet if the files didn't show up here:
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# modified: .settings/org.eclipse.wst.common.component
# modified: .settings/org.eclipse.wst.common.project.facet.core.xml
# ...many more