Answers for "check before git pull"

2

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
Posted by: Guest on April-29-2020
0

git pull without checkout

# updates local master with changes from remote
git fetch origin master:master
Posted by: Guest on August-19-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language