I'm working on a master branch on two different machines and pushed code to a remote repository on one of the machines.
I'm trying to push code to the remote repo from the other machine but I get the error
! [rejected] master -> master (non-fast-forward)
error: failed to push some refs to 'https://github.com/'
To prevent you from losing history, non-fast-forward updates were rejected
Merge the remote changes (e.g. 'git pull') before pushing again. See the
'Note about fast-forwards' section of 'git push --help' for details.
I'm planning on doing a $ git pull
but wanted to know if there was a way I could tell what files would be over written that I've made changes to locally since the last git pull from the remote repo or git push from the remote repo.
I'm not interested in a complete list of modified files.