Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

check changes after git pull

The very first line in the output of a pull looks like this:

$ git pull
Updating 37b431a..b2615b4

So to get the diff between before and after pull request, use --> 
$ git diff 37b431a..b2615b4
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #git #pull
ADD COMMENT
Topic
Name
4+7 =