I am downloading an eclipse project from source tree. The .project and .classpath files are not checked in. I want these checked in to do a successful import. I have no gitignore file. Can anyone shed some light as to why these files aren't coming across?
I also looked on the source machine that checked these files and the files are there. In the sourcetree version on that machine it doesn't show anymore files to be checked in.
My exlude file looks like this:
# git ls-files --others --exclude-from=.git/info/exclude
# Lines that start with '#' are comments.
# For a project mostly in C, the following would be a good set of
# exclude patterns (uncomment them if you want to use them):
# *.[oa]
# *~
.DS_Store
This seems like this isn't the case either.
Thanks!
Either your files have not been committed to the repository, as @adam-dymitruk told you, or you are ignoring them. Run this command:
$ git config --get core.excludesfile
And have a look at the file you get. You might have some patterns there which exclude your IDE files. I know that PHPStorm asks you at certain point to exclude theirs files globally. It might be that somebody (or eclipse) did the same in your source machine.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With