小编Pix*_*ixy的帖子

Git:由于未提交的更改,无法重新绑定

Git不会让我从任何地方变装.

Cannot rebase: Your index contains uncommitted changes.
Please commit or stash them.
Run Code Online (Sandbox Code Playgroud)

按照以下答案的说明操作:https://stackoverflow.com/a/13694625/618450

$ git update-index -q --ignore-submodules --refresh
$ git diff-files --ignore-submodules
Run Code Online (Sandbox Code Playgroud)

两者都不产生任何输出但是那个输出:

$ git diff-index --cached --ignore-submodules HEAD --
:100644 000000 cab819f1e5ed6cc7cff374eecae273e1d6ae6a01     0000000000000000000000000000000000000000 D  .idea/codeStyleSettings.xml
:100644 000000 2953f353d2c65dd62e36926accb7f645a600b7e0 0000000000000000000000000000000000000000 D  .idea/dictionaries/roxy.xml
:100644 000000 0e7ecef362d8a77067edf4bae5972f33185bd986 0000000000000000000000000000000000000000 D  .idea/inspectionProfiles/Project_Default.xml
:100644 000000 3b312839bf2e939fea3ebdef15630a4b33e57caf  0000000000000000000000000000000000000000 D    .idea/inspectionProfiles/profiles_settings.xml
:100644 000000 e31af55b33d82e28f471a2ba51b63c2a91fa53b7 0000000000000000000000000000000000000000 D  .idea/php.xml
:100644 000000 9c25e8d4f1169b5d3103b14fdb60e7d7c3975b70 0000000000000000000000000000000000000000 D  db/sfront.sql
Run Code Online (Sandbox Code Playgroud)

我无法删除这些文件:

$ git rm --cached .idea/php.xml
fatal: pathspec '.idea/php.xml' …
Run Code Online (Sandbox Code Playgroud)

git git-rebase

28
推荐指数
2
解决办法
5万
查看次数

Netbeans等待连接到XDEBUG

Netbeans不会连接到xdebug.我试过以下帖子的建议:

调试IDE与XDebug的端口连接:"等待连接"

netbeans显示"等待连接(netbeans-xdebug)"

但它并没有解决我的问题.

似乎Netbeans连接到xdebug,因为在等待连接时,对Web服务器[Apache2]的所有请求都被阻止.端口[9001]似乎正在使用中:

roxy@Pixy011 ~ $ sudo nmap -sS -O 127.0.0.1

Starting Nmap 6.00 ( http://nmap.org ) at 2013-11-28 20:48 EST
Nmap scan report for localhost (127.0.0.1)
Host is up (0.000029s latency).
Not shown: 990 closed ports
PORT     STATE SERVICE
22/tcp   open  ssh
139/tcp  open  netbios-ssn
443/tcp  open  https
445/tcp  open  microsoft-ds
631/tcp  open  ipp
902/tcp  open  iss-realsecure
3306/tcp open  mysql
8080/tcp open  http-proxy
8081/tcp open  blackice-icecap
9001/tcp open  tor-orport   <---- Opened by java
Run Code Online (Sandbox Code Playgroud)

xdebug.ini:[我已经确认它是在phpinfo()中加载的]

zend_extension=/usr/lib/php5/20100525/xdebug.so

xdebug.remote_autostart=1
xdebug.remote_enable=1 …
Run Code Online (Sandbox Code Playgroud)

php netbeans xdebug

8
推荐指数
1
解决办法
3万
查看次数

标签 统计

git ×1

git-rebase ×1

netbeans ×1

php ×1

xdebug ×1