#git addする前にdiff
git diff
#最後のコミットと今の修正点をdiff
git diff HEAD
#最後のコミットとその前のコミット間のdiff
git diff HEAD HEAD^
#今ステージされた内容をdiff
git diff --cached
Go to list of users who liked
More than 5 years have passed since last update.
#git addする前にdiff
git diff
#最後のコミットと今の修正点をdiff
git diff HEAD
#最後のコミットとその前のコミット間のdiff
git diff HEAD HEAD^
#今ステージされた内容をdiff
git diff --cached
Register as a new user and use Qiita more conveniently
Go to list of users who liked