# add, commit और status — गिट

Source: https://www.geekswithgeeks.com/hi/git/git-add-commit-status

> तीन कमांड जो आप सबसे ज़्यादा टाइप करेंगे।

## स्टेज और कमिट करें

विशेष फ़ाइलें स्टेज करें (या सब कुछ के लिए `.`), फिर बदलाव बताने वाले संदेश के साथ कमिट करें।

```bash
git add index.html style.css
git commit -m "Add landing page markup and styles"
```

## जाँचें क्या बदला है

`git status` आपका डैशबोर्ड है — इसे लगातार चलाकर स्टेज्ड, अनस्टेज्ड और अनट्रैक्ड फ़ाइलें देखें।

```bash
git status
```

Output:

```
On branch main
Changes to be committed:
  new file:   index.html
Untracked files:
  notes.txt
```

## अच्छे कमिट संदेश

इसे आदेशात्मक भाव में लिखें — "Add feature", न कि "Added feature" — और पहली पंक्ति ~50 अक्षर से कम रखें।
