Git with Github / Java Project

Asked

Viewed 265 times

1

Hello

I would like a help, for example, I created a project in Eclipse and I want to upload it in Github, there is a file . gitignore and this file is created automatically by ignoring the /src/ directory of my project, does anyone know where to set up this creation? As you can see in the attachment I have some directories and files that are already in Github, I would like to know which ones I don’t need to upload.

inserir a descrição da imagem aqui

Thank you

Sincerely yours,

Diego

  • 1

    Search for examples of . gitignore that ignore files from multiple Ides, such as Eclipse, Netbeans, Intellij IDEA...

1 answer

3

Well, you can change your . gitignore as you wish, I find it strange to be created automatically by ignoring your /src/. But you can open it and take anything out. The ideal is for you to upload only the essentials to github, for example, source code, configuration files, CI files, pom.xml, etc.. Everything that makes it easier to use your repository. What does not go up are the requirements of the project. Pq who will clone , will install the department from Maven.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.