Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to check the difference between the staging area and commit

# diff last commit vs working dir
git diff --color ‹commitID›
Source by xahlee.info #
 
PREVIOUS NEXT
Tagged: #check #difference #staging #area #commit
ADD COMMENT
Topic
Name
1+9 =