जब मैं एक काम करता git commit -aहूं, तो मैं निम्नलिखित देख रहा हूं:
# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
# On branch better_tag_show
# Changes to be committed:
# (use "git reset HEAD <file>..." to unstage)
#
# modified: ../assets/stylesheets/application.css
# modified: ../views/pages/home.html.erb
# modified: ../views/tags/show.html.erb
# modified: ../../db/seeds.rb
#
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# ../assets/stylesheets/
# ../views/pages/
उन अनटैक की गई फ़ाइलों का क्या मतलब है? सभी परिवर्तनों को वास्तव में ट्रैक किया गया है। मुझे समझ नहीं आ रहा है कि git मुझे यहां अनट्रैक फ़ाइलों के बारे में क्यों चेतावनी दे रहा है।
संपादित करें :
ठीक है मुझे बहुत सारे उलझे हुए उत्तर दिखाई देते हैं। मेरे बाद ऐसा ही होता है git commit -a।
# On branch master
nothing to commit (working directory clean)
जैसा कि आप देख सकते हैं, उन चार फाइलों के अलावा अन्य कुछ भी नहीं है जिनमें परिवर्तन लागू थे।
मेरे प्रश्न को निम्नानुसार समझना चाहिए: क्यों मुझे अनटाइटेड फ़ाइलों के बारे में चेतावनी दी जा रही है जब इस प्रतिबद्धताओं में सभी परिवर्तनों को ट्रैक किया गया है?
दूसरे शब्दों में, क्या git प्रतिबद्ध संदेश में अनियंत्रित चेतावनी अनावश्यक है ?
(use "git add <file>..." to include in what will be committed)