Dry run flag for git-pull or git-fetch?

From: Jon Loeliger <hidden>
Date: 2016-06-15 22:42:58

Folks,

Is there a "dry-run" flag for git-pull and git-fetch
that I missed somewhere?

Specifically, I'm looking for a  "git pull -n foo"
command that would tell me, as output, the gross-level
effect without actually doing the steps.  That is,
I'd expect something like:

    Fetching from remote "foo"
        URL: git://example.com/pub/foostuff.git
        Remote branch: foo/main into remote/foo/main
        Remote branch: foo/testing into remote/foo/testing
    Merging:
        Remote foo/main into local heads/master

Or something down that line.  Basically parrot the
config file plus command line effect back at the
user as a sanity check first.

Thanks,
jdl
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help