Last active
March 10, 2019 12:23
-
-
Save ezhov-da/5748ffbe0363efc261797bbd7440a593 to your computer and use it in GitHub Desktop.
git diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://stackoverflow.com/questions/3636914/how-can-i-see-what-i-am-about-to-push-with-git | |
<pre> | |
For a list of files to be pushed, run: | |
git diff --stat --cached [remote/branch] | |
example: | |
git diff --stat --cached origin/master | |
For the code diff of the files to be pushed, run: | |
git diff [remote repo/branch] | |
To see full file paths of the files that will change, run: | |
git diff --numstat [remote repo/branch] | |
</pre> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment