从IDEA推送到远程存储库不起作用

时间:2013-11-16 19:01:38

标签: git intellij-idea git-push github-for-windows

作为一个新手,我选择从官方网站使用GitHub for Windows版本。我在IntelliJ IDEA设置中添加了git可执行文件的路径。

使用图形界面,我从远程github repo克隆了一个项目。现在,当我对项目文件进行一些更改并按下PUSH按钮时,只会提交到我的本地版本。显示有关选择要提交的文件的所有屏幕,除了应该要求我的github凭据的最终菜单之外根本不显示。没有显示错误或警告

当我打开GitHub UI时,我可以看到最后一次未同步的提交,我可以使用同步按钮或​​打开github shell并输入
来同步它               git push origin master

也许我缺乏git应该如何工作的一般理解。任何帮助将不胜感激。

更新:

这是我上次尝试提交远程仓库的完整日志:

20:35:21.996: cd C:\NetCracker\ProjectVersions\GitHubClone_16_11_2013\NCLodger
20:35:21.996: git log origin/master..master --name-status --pretty=format:%x01%h%x02%H%x02  %ct%x02%an%x02%at%x02%ae%x02%cn%x02%ce%x02%p%x02%d%x02%s%x02%b%x02%B%x03 --encoding=UTF-8 -- .
20:37:00.397: cd C:\NetCracker\ProjectVersions\GitHubClone_16_11_2013\NCLodger
20:37:00.397: git config core.autocrlf
true
20:37:00.544: cd C:\NetCracker\ProjectVersions\GitHubClone_16_11_2013\NCLodger
20:37:00.544: git commit --only -F C:\Users\Ferbolg\AppData\Local\Temp\git-commit-msg-2050500670215297705.txt -- src/main/webapp/smsettings.jsp
[master da7c7fe] User dashboard link removed from sales manager page (For testing git work only)
1 file changed, 1 insertion(+), 1 deletion(-)

20:37:00.782: cd C:\NetCracker\ProjectVersions\GitHubClone_16_11_2013\NCLodger
20:37:00.782: git log origin/master..master --name-status --pretty=format:%x01%h%x02%H%x02%ct%x02%an%x02%at%x02%ae%x02%cn%x02%ce%x02%p%x02%d%x02%s%x02%b%x02%B%x03 --encoding=UTF-8 -- .
20:37:06.545: git push origin master:master

0 个答案:

没有答案