# GitHub

> वह GitHub खाता जिसके रूप में आपके Agents काम करते हैं, AirBuild GitHub App कहाँ इंस्टॉल है और कितनी repositories तक पहुँचता है, single sign-on, और Sign Commits with AirBuild।

Source: https://air.build/hi/docs/settings/github/

GitHub दिखाता है कि आपके Agents किस GitHub खाते के रूप में काम करते हैं, AirBuild GitHub App कहाँ इंस्टॉल है, और वे किन repositories तक पहुँच सकते हैं। ऐप इसका वर्णन यूँ करता है: "See where the AirBuild GitHub App is installed and which repositories your agents can reach."

## GitHub खोलें

**iPhone**

**Settings** खोलें। **Connections** के नीचे **GitHub** पर टैप करें।

**Mac**

**Settings** खोलें और साइडबार में **GitHub** पर क्लिक करें।

Settings में **GitHub App** खोजने पर भी यही पेज खुलता है। हर बार ऐप में लौटने पर पेज GitHub को दोबारा पढ़ता है, इसलिए GitHub पर किए बदलाव इसे दोबारा खोले बिना दिख जाते हैं।

## खाता

| आपको क्या दिखता है | इसका अर्थ |
| --- | --- |
| **Connect GitHub** | कोई GitHub खाता जुड़ा नहीं है। इस पर टैप करें और GitHub में साइन इन करें। |
| आपके GitHub नाम के साथ **GitHub** | जुड़ा हुआ है। फ़ुटर: "Your agents work with GitHub as this account. Your password and tokens never reach them." |
| पंक्ति पर **Sign In Again** | GitHub को नया साइन-इन चाहिए। फ़ुटर: "GitHub needs you to sign in again before your agents can reach repositories." |

**iPhone**

GitHub का साइन-इन ऐप के अंदर ही खुलता है।

**Mac**

GitHub का साइन-इन आपके वेब ब्राउज़र में खुलता है। काम पूरा होने पर AirBuild में लौटें; पेज अपडेट हो जाता है।

यह वही GitHub खाता है जिससे आप AirBuild में साइन इन कर सकते हैं; यह Settings › [Account](https://air.build/hi/docs/settings/account/) में **Connected Accounts** के नीचे भी दिखता है।

## GitHub App

GitHub जुड़ने के बाद **GitHub App** हर उस GitHub खाते या organization की सूची दिखाता है जिस पर AirBuild GitHub App इंस्टॉल है, साथ में यह कि वह कितनी repositories की अनुमति देता है ("12 repositories")। व्यक्ति का आइकन निजी खाते को और इमारत का आइकन organization को दर्शाता है।

| आइटम | क्या करता है |
| --- | --- |
| किसी खाते की पंक्ति | ऐप का GitHub पेज खोलती है, जहाँ आप बदलते हैं कि यह किन repositories तक पहुँचे। |
| **Install AirBuild GitHub App** | तब दिखता है जब यह कहीं इंस्टॉल न हो। इसे इंस्टॉल करने और repositories चुनने के लिए GitHub खोलता है। |
| **Add Account…** | इसे एक और खाते या organization पर इंस्टॉल करता है। |

फ़ुटर:

- कहीं इंस्टॉल न हो: "The AirBuild GitHub App is not installed on any account yet. Install it and choose repositories to let your agents reach your code."
- इंस्टॉल हो: "Your agents can reach the repositories granted to these installations. Select an account to manage its repositories on GitHub."

GitHub पर जाने के बाद पेज जाँच करता रहता है और लौटने पर नए इंस्टॉलेशन दिखाता है। अगर सूची पढ़ी न जा सके, तो सेक्शन कारण और **Try Again** दिखाता है।

### सिंगल साइन-ऑन

| सूचना | क्या करें |
| --- | --- |
| **Single Sign-On Required** — "GitHub hides _n_ organization(s) until you sign in again and complete single sign-on." | **Sign In Again** पर टैप करें और GitHub के माँगने पर single sign-on पूरा करें। |
| **Already Granted Access?** — "If your organization uses single sign-on, sign in to GitHub again and complete it when GitHub asks." | तब दिखता है जब आप GitHub पर गए पर कोई इंस्टॉलेशन नहीं दिखता। **Sign In Again** पर टैप करें। |

## Sign Commits with AirBuild

आपकी खुली Team के लिए एक स्विच: "Commits your agents make show AirBuild as a co-author on GitHub." जब आप एक से ज़्यादा Team में हों, तो स्विच के ऊपर Team का नाम होता है। केवल Team का owner इसे बदल सकता है; सदस्यों के लिए यह धूसर रहता है।

अगर बदलाव सहेजा न जा सके, तो **Sign Commits with AirBuild** शीर्षक वाला अलर्ट कारण बताता है।

## Owner और सदस्य

किसी Team के Agents, Team के owner का GitHub कनेक्शन इस्तेमाल करते हैं। जब ownership किसी और के पास जाती है, तो Agents तब तक GitHub इस्तेमाल नहीं कर सकते जब तक नया owner उन्हें पहुँच न दे। Settings › [Teams](https://air.build/hi/docs/settings/teams/#people) देखें।

## सवाल

**किसी organization की repositories नहीं दिख रहीं।**

Add Account… से उस organization पर GitHub App इंस्टॉल करें। अगर organization single sign-on इस्तेमाल करता है, तो Sign In Again पर टैप करें और उसे पूरा करें।

**Agents को और repositories कैसे दूँ?**

ऐप का GitHub पेज खोलने के लिए खाते की पंक्ति पर टैप करें, और वहाँ repositories जोड़ें।
