NetBeans and Git: I did install Git plugin but does not connect to repo after initializing, nor adds files

假如想象 提交于 2020-01-05 10:16:32

问题


I have NetBeans 7.01 and installed the Git plugin from the plugins panel

After installation was completed and NetBeans restarted I have right clicked on one of my projects, selected "versioning" and initizialized a git repo; I chose to have the .git folder inside the root of the project

However, that didn't do nothing. I checked the output terminal, all it says is:

==[IDE]== 19-gen-2012 4.50.35 Initializing ...
Initializing repository
Creating git D:\Siti\Current\nellaterradisandokan.com\content\themes/.git directory
git init D:\Siti\Current\nellaterradisandokan.com\content\themes
==[IDE]== 19-gen-2012 4.50.37 Ignoring...
==[IDE]== 19-gen-2012 4.50.39 Initializing ... finished.
ignoring D:\Siti\Current\nellaterradisandokan.com\content\themes\nbproject\private 
nbproject/private
==[IDE]== 19-gen-2012 4.50.39 Ignoring... finished.
==[IDE]== 19-gen-2012 4.51.08 Connecting
==[IDE]== 19-gen-2012 4.51.08 Connecting finished.

however, no files were actually added to git, while they should have been automatically..: I can't add files manually because the project is not connected to Git. If I right click again on the project and try to connect, the console tries to connect, says "Connecting finished", but nothing is connected.

from the output above looks like it's ignoring the whole folder where the files are, but why?

How do I make this work? I'm new to Git.


回答1:


If you run in a problem similar to mine, you could try uninstalling NetBeans and reinstalling it. That solved my problem. Not really a solution or an explaination for what happened, but at least you might get rid of your headaches until Git will be better supported by Netbeans.



来源:https://stackoverflow.com/questions/8917286/netbeans-and-git-i-did-install-git-plugin-but-does-not-connect-to-repo-after-in

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!