Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git preview pull

git fetch
git log HEAD..origin/master  (get all log entries b2n your last commit and current master)

git log -p HEAD..origin/master (to show each patch of all the commits since your last commit)

		or 

git diff HEAD...origin/master (three dots not two) to show a single diff.

git cherry-pick (pick what you want)
git pull (if satisfied with changes)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #git #preview #pull
ADD COMMENT
Topic
Name
1+7 =