用Eclipse给github提交代码没有绿格子显示的解决办法

打开 Window -->Preference --> Git --> Configuration,在 User Settings 选项卡中,

将 user 下的 email 填写为github的邮箱地址,再将 user 下的 name 填写为 github 的用户名(非必要),

再此提交代码即可。

如下:

用Eclipse给github提交代码没有绿格子显示的解决办法