NetBeans和Git:我确实安装了Git插件,但是初始化后没有连接到仓库,也没有添加文件 [英] NetBeans and Git: I did install Git plugin but does not connect to repo after initializing, nor adds files

查看:227
本文介绍了NetBeans和Git:我确实安装了Git插件,但是初始化后没有连接到仓库,也没有添加文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有NetBeans 7.01,并从插件面板安装了Git插件

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

安装完成并重新启动NetBeans之后 我右键单击了我的一个项目,选择了版本控制"并初始化了一个git repo;我选择将.git文件夹放入项目的根目录

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.

但是,实际上没有文件实际上已添加到git中,而应该将它们自动添加..:我无法手动添加文件,因为该项目未连接到Git.如果再次在项目上单击鼠标右键并尝试连接,则控制台将尝试连接,并显示连接已完成",但没有任何连接.

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?

我如何进行这项工作?我是Git的新手.

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

推荐答案

如果您遇到的问题与我的类似,则可以尝试卸载NetBeans并重新安装.那解决了我的问题.并不是真正的解决方案或解释,但至少可以摆脱麻烦,直到Netbeans更好地支持Git.

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.

这篇关于NetBeans和Git:我确实安装了Git插件,但是初始化后没有连接到仓库,也没有添加文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆