paperlined.org
apps > git
document updated 12 years ago, on Aug 24, 2011
Is it possible to check if a git pull would be able to succeed (eg. can do a fast-forward, if needed), but without actually doing the merge? (at least, not changing any files on disk?)

Many tools have a --dry-run option.... we want to do the same thing as that.

Various suggestions on how to do this: