简体   繁体   English

无论如何NetBeans看到提交没有被推送到远程git repo

[英]NetBeans anyway to see the commits not pushed to remote git repo

In NetBeans I have a number of commits to my local git repo. 在NetBeans中,我对本地git仓库提交了许多提交。 How can I see the commits not pushed to the remote repo? 如何才能看到提交没有被推送到远程仓库?

Netbeans does not have this facility yet. Netbeans还没有这个设施。 Here is a bug that talks about this. 这是一个讨论这个问题的bug。 http://netbeans.org/bugzilla/show_bug.cgi?id=208930 http://netbeans.org/bugzilla/show_bug.cgi?id=207165 http://netbeans.org/bugzilla/show_bug.cgi?id=208930 http://netbeans.org/bugzilla/show_bug.cgi?id=207165

Take a look at this, http://netbeans.org/kb/docs/ide/git.html#diff 看看这个, http://netbeans.org/kb/docs/ide/git.html#diff

Here is another SF question about this. 这是关于此的另一个SF问题。 Git diff between master and origin/master using Netbeans 使用Netbeans在master和origin / master之间进行Git diff

@EM-Creations @ EM-创作

Yep, but svn is different. 是的,但是svn是不同的。 GIT has the concept of Remote and Head (local repo) and a working tree. GIT具有Remote和Head(本地回购)和工作树的概念。 When you commit you commit to Head and you have to push to remote repo. 当你提交你承诺头,你必须推送远程回购。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM