Search This Blog

10 October, 2013

useful git diff commands for developers


1) git diff with only file name and its status

git diff --name-status<commit_id> 

2) Showing differences introduced by a commit

git show <commit_id> 

3) Showing differences introduced by a commit with file name only, status of each file with commit message
git show --name-status <commit_id> 

4) Showing differences introduced by a commit with file name only, status of each file
git diff-tree  --name-status -r  <commit_id> 


tmux enabling mouse interaction

Add the below line to the ~/.tmux.conf setw -g mouse on save the file and exit from the tmux shell, you should be able to use your mouse to ...