On Fri, Aug 12, 2011 at 2:44 AM, Kalle Vahlman <[email protected]> wrote: > 2011/8/12 Lindsay Mathieson <[email protected]> >> >> I havea unpushed commit on a webkit master (for inline spelling) and >> I can't seem to generate a patch for it. Have tried "git format-patch >> --stdout master ", "git diff master" and "git diff". None of them >> produce any out put. >> >> git status >> # On branch master >> # Your branch is ahead of 'origin/master' by 1 commit. >> # >> nothing to commit (working directory clean) >> >> >> What to do? > > Try: > git format-patch HEAD^ > ("make a patch of the changes introduced by commit preceding current top > commit"). > > 'git diff' only shows unstaged/uncommitted changes, that's why it has no > output.
You can also generate the diff by doing git diff origin/master.. OR if you have multiple commits and only want to generate the diff of a single change git log origin/master.. git show <reversion-number> Regards, Dawit A. _______________________________________________ webkit-qt mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt
