Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

show changes at time of git pull

git log --name-status -2

# Will show you the names of the files that changed for the last two commits.

git log -p -2
# Will show you the changes themselves.

## =================================
## Before you pull,

git fetch
git log --name-status origin/master..
# Will show you what commits you are about to retrieve, along with the names of the files.


.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #show #time #git #pull
ADD COMMENT
Topic
Name
8+7 =