Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

git see local changes

git diff (no parameters)
Print out differences between your working directory and the index.

git diff --cached:
Print out differences between the index and HEAD (current commit).

git diff HEAD:
Print out differences between your working directory and the HEAD.

git diff --name-only
Show only names of changed files.

git diff --name-status
Show only names and status of changed files.

git diff --color-words
Word by word diff instead of line by line.
Comment

PREVIOUS NEXT
Code Example
Shell :: multi line comment in bash shell 
Shell :: ubuntu disable ssh root 
Shell :: clone a specific branch 
Shell :: auth token 
Shell :: How to change default user in WSL Ubuntu bash on Windows 10 
Shell :: curl skip ssl 
Shell :: virtual host apache 
Shell :: flutter plugin installed but in flutter doctor it shows not installed 
Shell :: ubuntu list running applications 
Shell :: create a branch from main 
Shell :: bash sh: line [: too many arguments 
Shell :: update to 21.04 from 20.04 
Shell :: check ram in linux 
Shell :: git commit 
Shell :: nmap udp scan 
Shell :: swagger installation 
Shell :: git fetch not pulling branches 
Shell :: how to delete commits on github 
Shell :: git new branch push to remote 
Shell :: how to loop through every value in array bash 
Shell :: git abort changes 
Shell :: grep from file 
Shell :: how can I check the memory of computer in ubuntu 
Shell :: install font on linux 
Shell :: how to add image in readme.md 
Shell :: Push github repo in command line 
Shell :: git switch vs checkout 
Shell :: remove a file from git commit 
Shell :: debian change time command line 
Shell :: bash "set -e" 
ADD CONTENT
Topic
Content
Source link
Name
9+2 =