Reputation: 2570
I have a remote repository (origin) and my local repository. How to make a diff between my local master and the origin master please?
In the command line I simply write :
git diff master origin/master
But I do not know how to do this under netbeans.
Upvotes: 9
Views: 12123
Reputation: 1352
I think what you really want to do, is to create a new branch, work in it, and when you want to compare to current master (which in your case is origin/master, i.e. the version of master that's on your team's central server, you do a pull (which should work cleanly as there should be no changes in your private working branch, and then compare your branch to master.
I have the same problem, being used to CVS and SVN :)
Upvotes: 0
Reputation: 2255
It will be supported in NB 7.4
See http://wiki.netbeans.org/NewAndNoteworthyNB74#Diff_between_revisions_2
Upvotes: 1
Reputation: 1634
On Netbeans Right click a file then go to Git->Diff.
Or also you can right click on the left sidebar on the project, then select Git->Diff.
Also each file has button on the top that says History.
Hoep this helps.
Upvotes: 0