git equivalent of svn status -u
问题 What's the git equivalent of svn status -u or more verbose svn status --show-updates . The svn status --show-updates command shows the updates that the svn update command will bring from the server. Thanks! 回答1: I can't think of a way to do it without actually fetching the updates (maybe someone else will). Assuming you are on the default branch "master" and the upstream from which these hypothetical updates will come is the default remote "origin", try.... git fetch git log --name-only .