|
|
|
Re: gitignore and importing projects [message #1428910 is a reply to message #1428749] |
Mon, 22 September 2014 14:39 |
Felix Dorner Messages: 295 Registered: March 2012 |
Senior Member |
|
|
On 22/09/2014 13:31, Fredrik Berg wrote:
> Hello!
>
> I've recently started using both git and EGit. I've sucessfully created
> repositories for myself, and importing theese on different computers.
> Although I added the whole project to BitBucket, which I'm using as
> repo, and I've heard this is not optimal.
> So i added a recommended gitignore for eclipse java project (pasted
> below, essentially only .java files) but now I can't import this project
> anymore.
>
> I figured this had something to do with .project file so I added this to
> the repo, and it made me able to import the project BUT i still miss all
> liraries and such.
It's ok to add the whole project. For .gitignore, I don't know who
"recommended" the file you pasted, but I'd tell you to just start with a
trivial .gitignore and add stuff over time to it. The simplest
..gitignore is maybe the one that EGit creates automatically, it only
adds bin/. Use that and you'll probably be fine.
Felix
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03995 seconds