Git: How To See What Files Have Changed & What’s About to Be Pushed
Let’s say you’re working away on a project, and you’ve made some codebase changes, you’ve pulled changes via “git pull origin master”, and you’re about to push some code to the remote repo…
So the question is:
How do you see what files you’re about to push?
git diff --stat --cached origin/master