Search
 
SCRIPT & CODE EXAMPLE
 

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
Comment

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.


.
Comment

PREVIOUS NEXT
Code Example
Shell :: install eclipse in fedora 
Shell :: composer ins 
Shell :: hibernate in windows 
Shell :: install make 
Shell :: debian terminal paste 
Shell :: list all files by size 
Shell :: install kafka windows 
Shell :: git how to remove git 
Shell :: composer upgrade to 2 
Shell :: Can I deploy a branch in netlify 
Shell :: how to check if in which folder are you present in linux 
Shell :: change local branch name 
Shell :: could not find driver postgres laravel 
Shell :: git view stash 
Shell :: check my privilages ubuntu 
Shell :: update pyinstaller 
Shell :: how to install grub 
Shell :: geopandas install windows 
Shell :: linux decode base64 string 
Shell :: how to install packages from jupyter notebook 
Shell :: libc-bin error 
Shell :: uninstall photos app windows 10 
Shell :: how to go back to the last directory in linux 
Shell :: how to install unsigned drivers on windows 10 
Shell :: how to install as dev dependency 
Shell :: ubuntu move all files in directory 
Shell :: cp bash 
Shell :: restart gnome from terminal 
Shell :: count files command mac 
Shell :: how to make a tarball in linux 
ADD CONTENT
Topic
Content
Source link
Name
4+6 =