SkillByAIइंटरैक्टिव संस्करण खोलें →

पाठ 5 / 28

git clone

git clone से मौजूदा repository को हर commit, branch और tag के साथ copy करें।

रिमोट repo क्लोन करें

यह हर कमिट, ब्रांच और टैग डाउनलोड करता है — सिर्फ़ मौजूदा फ़ाइलें नहीं।

git clone https://github.com/octocat/hello-world.git
cd hello-world

Output:

Cloning into 'hello-world'...
remote: Enumerating objects: 42, done.

कस्टम फ़ोल्डर नाम

अलग नाम वाले फ़ोल्डर में क्लोन करने के लिए दूसरा आर्ग्युमेंट जोड़ें: git clone <url> my-folder।