layer wrote: > I'm a git noob, and I'm trying to move my organization to it from CVS > (which we've used since 1991). Currently stuck on this: > > I think a natural style of development using git would be to do a > series of commits to my local repo and when things are stable, do a > push somewhere or collect all the changes into a patch. > > I have googled and looked at documentation, but I cannot figure out > how to find all changes since my last push. Let's assume that the defaults are used. Your branch is named master, your remote is named origin, and the remote branch is named master also. $ git push # changes pushed upstream # edit, test, commit ... # make new commits $ git log origin/master.. # show new commits since last push > To make this more > complex, I'd like intervening pull's not to interfere with my ability > to find all changes since the last push. $ git fetch # fetch the changes others have committed $ git log origin/master.. # still shows new commits on your master since # last push 'git log origin/master..' is really short for 'git log origin/master..HEAD', or for this example, in place of 'git log origin/master..master'. It is showing the commits that exist on master that do not exist in origin/master. To see what new things have been applied to origin/master that you do not have in master (i.e. after the 'git fetch'), switch it around: $ git log master..origin/master -brandon -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html