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

1 messages from 2007-03-05 to 2007-03-05. Participants: Jon Loeliger.
Thread: https://gitlist.dev/t/7098

## Jon Loeliger, 2007-03-05 20:41

Subject: Dry run flag for git-pull or git-fetch?
Message-ID: <1173127307.23776.37.camel@ld0161-tx32>
URL: https://gitlist.dev/e/1173127307.23776.37.camel%40ld0161-tx32

```
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

```
