जब git commitसंदेश संपादक खुला एक संक्षिप्त स्थिति से पता चलता है, कुछ इस तरह से:
# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
# On branch master
# Your branch is ahead of 'origin/master' by 26 commits.
#
# Changes to be committed:
# (use "git reset HEAD <file>..." to unstage)
#
# modified: Showcase/src/com/gigantt/BorderArea.mxml
# modified: Showcase/src/com/gigantt/Client.mxml
# modified: Showcase/src/com/gigantt/GraphItem.mxml
#
मैं यह दिखाने के लिए भी कैसे जुदा हो सकता हूँ जो प्रतिबद्ध होने के लिए अलग है? मुझे पता है कि यह एक लंबा अंतर हो सकता है, लेकिन फिर भी .. इतना उपयोगी।
git diff --cached, इसे उत्पन्न करता है, लेकिन यदि आप इसे हर बार चाहते हैं तो एक अलग कमांड क्यों चलाते हैं?