Netbeans Project Upload on Github

Asked

Viewed 4,800 times

2

I never had experience with Github, I made a simple library of php and wanted to publish it in Git through the IDE NetBeans, I’ve been doing some research, I found something similar, but I couldn’t upload it, someone knows how it works?

2 answers

7


The team of NetBeans helped me to solve this problem, let’s step by step:

  • Sign into the account of Github.
  • Create a Novo Repositório.
  • When creating you will be given links https or ssh to do the upload files, similar to this:

    https://github.com/Leonardo-Souza/MinPDO.git

  • In the NetBeans, open the project you want, in the tab Projetos click on the name of the botão direito and enter the menu Controle de Versão / Inicializar Repositório Git, only Avance.

  • Select from the menu Janelas to Saída (or press Ctrl + 4), a console will open, see if there is no error.
  • Come back on the tab Projetos and now again with the right button go to Git / Fazer Commit, after that press the button Fazer Commit and check on the console if the completion message has been displayed.
  • Check if some files of the being project has the description Passed, if yes continue, if not wait a while or redo the previous steps.
  • Once again on the tab Projetos, now on the menu Git / Remoto / Expandir, select the radio box Especificar a Localização do Repositório Git, no input, paste the link https that the GitHub gave you, add your login credentials and press Próximo.
  • On the next screen mark the option master -> master and click on Próximo, then in Finalizar.

  • Paste the link https in the browser and see your files already in the repository.

0

A question, whenever I need to update the code in the repository I need to do step 8 "in the Git / Remote / Expand menu, select the Specify Git Repository Location radio box, in the input, paste the https link that Github gave you, add your login credentials, and press Next"? Is there any way to update automatically?

Browser other questions tagged

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