Usman Ali Usman Ali - 1 year ago 96
Git Question

how to view the committed files those you have not pushed yet

for example i commit some files, next day some more files, and so on, after some days i want to view all my committed files, and view its difference with remote repo. Note i have not Push any thing. just want to verify that if i push some thing then will goes to remote repo.

tom tom
Answer Source

Here you'll find your answer.

Using Git how do I find changes between local and remote

Sourced from the above answer:
Use "git log origin..HEAD"

Use "git fetch" followed by "git log HEAD..origin". You can cherry-pick individual commits using the listed commit ids.

The above assumes, of course, that "origin" is the name of your remote tracking branch (which it is if you've used clone with default options).
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download