computing_bytes_scratch_repo

Open Source Love License: MIT Open Source Helpers

अन्य भाषाहरूमा पढ्नुहोस्।

[Shqip](translations/README.al.md) [Uzbek language](translations/README.uz.md) [Azərbaycan dili](translations/README.aze.md) [বাংলা](translations/README.bn.md) [Bulgarian](translations/README.bg.md) [Português (Brasil)](translations/README.pt_br.md) [Català](translations/README.ca.md) [中文 (Simplified)](translations/README.zh-cn.md) [Czech](translations/README.cs.md) [Deutsch](translations/README.de.md) [Dansk](translations/README.da.md) [العربية](translations/README.eg.md) [Española](translations/README.es.md) [Française](translations/README.fr.md) [Galego](translations/README.gl.md) [Ελληνικά](translations/README.gr.md) [ქართული](translations/README.ge.md) [Magyar](translations/README.hu.md) [Bahasa Indonesia](translations/README.id.md) [עִברִית](translations/README.hb.md) [हिंदी/ગુજરાતી/मराठी/മലയാളം/ಕನ್ನಡ/తెలుగు/छत्तीसगढ़ी/বাংলা/தமிழ்](translations/Translations.md) [தமிழ்](translations/README.ta.md) [فارسی](translations/README.fa.md) [پښتو](translations/README.pus.md) [Italiano](translations/README.it.md) [日本語](translations/README.ja.md) [සිංහල](translations/README.si.md) [Kiswahili (Kenya)](translations/README.kws.md) [한국어 한국어](translations/README.ko.md) [Lietuvių kalba](translations/README.lt.md) [Limba Română Limba Română](translations/README.ro.md) [မြန်မာ](translations/README.mm_unicode.md) [Македонски](translations/README.mk.md) [Español de México](translations/README.mx.md) [Bahasa Melayu / بهاس ملايو‎ / Malay](translations/README.my.md) [Dutch](translations/README.nl.md) [Norsk](translations/README.no.md) [नेपाली](translations/README.np.md) [Wikang Filipino](translations/README.tl.md) [English (Pirate)](translations/README.en-pirate.md) [اردو](translations/README.ur.md) [Polski](translations/README.pl.md) [Português (Portugal)](translations/README.pt-pt.md) [Русский язык](translations/README.ru.md) [عربى](translations/README.ar.md) [Svenska](translations/README.se.md) [Slovenčina](translations/README.slk.md) [Slovenščina](translations/README.sl.md) [ภาษาไทย](translations/README.th.md) [Türkçe](translations/README.tr.md) [中文(Traditional)](translations/README.zh-tw.md) [Українська](translations/README.ua.md) [Tiếng Việt](translations/README.vn.md) [Zulu (South Africa)](translations/README.zul.md) [Afrikaans (South Africa)](translations/README.afk.md) [Igbo (Nigeria)](translations/README.igb.md) [Yoruba (Nigeria)](translations/README.yor.md) [Hausa (Nigeria)](translations/README.hau.md) [Latvia](translations/README.lv.md) [Suomeksi](translations/README.fi.md) [Беларуская мова](translations/README.by.md) [Српски](translations/README.sr.md) [Қазақша](translations/README.kz.md) [Bosanski](translations/README.bih.md) [Bosanski](translations/README.bih.md) [Hrvatski](translations/README.hr.md) [پښتو](translations/README.ps.md) [Somalia](translations/README.so.md) [Ecuador](translations/README.ec.md)

पहिलो योगदान(contribution)।

यस प्रोजेक्टले शुरुवातकर्ताहरूले आफ्नो पहिलो योगदान गर्ने तरिकालाई सरल बनाउने र मार्गदर्शन गर्ने लक्ष्य राखेको छ। यदि तपाईं आफ्नो पहिलो योगदान गर्न खोज्दै हुनुहुन्छ भने, तलका चरणहरूको पालना गर्नुहोस्। हामी पहिलो योगदान (contribution) को लागि यसै repository को प्रयोग गर्नेछौ ।

यदि तपाईं कमाण्ड कमांड लाइन (command line) सँग सहज हुनुहुन्न भने, यहाँ GUI tool हरु प्रयोग गर्ने Tutorial हरु छन्।

fork this repository .

यदि तपाईंसँग तपाइँको कम्प्यूटरमा git छैन भने, यहाँबाट install गर्नुहोस्।

Repository Fork गर्नुहोस्।

यस page को Top मा रहेको Fork बटनमा क्लिक गरेर यो repository लाई Fork गर्नुहोस। यसले तपाईंको GitHub account मा यस रिपोको प्रतिलिपि(copy) बनाउदछ ।

Repository Clone गर्नुहोस्।

clone this repository

अब ` Fork ` गरेको repository लाई आफ्नो कम्प्युटरमा ` Clone ` गर्नको लागी तपाइको GitHub account मा जानुहोस् र Fork गरिएको Repository खोल्नुहोस्। अब ` Code ` बटनमा क्लिक गर्नुहोस् र त्यसपछि copy to clipboard आइकनमा क्लिक गर्नुहोस्।

टर्मिनल खोल्नुहोस् र निम्न git कमाण्ड चलाउनुहोस्:

git clone "तपाइले copy गरेको URL"

जहाँ "तपाइले copy गरेको URL" छ, त्यो तपाईले fork गरेको repository को url हो । ( Url प्राप्त गर्न clone गर्ने चित्रहरुमा हेर्नुहोस्। )

URL लाई क्लिपबोर्डमा प्रतिलिपि बनाउनुहोस्

उदाहरणका लागि:

git clone https://github.com/this-is-you/first-contributions.git

जहाँ this-is-you छ, त्यहाँ तपाईंको GitHub username लेख्नुहोस् । यहाँ तपाइँले GitHub बाट तपाईंको कम्प्युटरमा first-contributions repository को file हरु प्रतिलिपि (copy) गर्दै हुनुहुन्छ।

Repository Branch बनाउनुहोस्।

तपाईंको कम्प्यूटरमा Clone गरेको repository को directory लाई खोल्नुहोस् (यदि तपाईं पहिले नै हुनुहुन्न भने):

cd first-contributions

अब git switch कमाण्ड प्रयोग गरेर एउटा branch बनाउनुहोस् :

git switch -c  ब्रन्चको-नाम

उदाहरणको लागि:

git switch -c add-ram-regmi 

(ब्रान्चको नाममा add शब्दको आवश्यकता छैन, तर यसमा add समावेश गर्न उचित छ किनभने यस branch को उद्देश्य तपाईंको नामलाई contributors को सूचीमा थप्ने हो।)

Repository मा आवश्यक परिवर्तनहरू गर्नुहोस् र तिनी परिवर्तनहरूलाई commit गर्नुहोस्।

अब टेक्स्ट एडिटर (text editor) मा Contributors.md फाइल खोल्नुहोस्, यसमा तपाईंको नाम add गर्नुहोस् । तपाईंको नामलाई फाइलका नामहरुको बीचमा राख्नुहोस् , सुरुवात वा अन्त्यमा तपाईंको नाम नथप्नुहोस्। । अब फाईल save गर्नुहोस्।

git status

अब यदि तपाई project directory जानुभयो र git status कमाण्डलाई रन (run) गर्नुभयो भने,तपाइँले त्यहाँ परिवर्तन भएका फाइलहरुको सुची देख्नुहुनेछ।

तपाइले भर्खरै बनाउनु भएको branch मा git add कमाण्ड प्रयोग गरी तिनी परिवर्तनहरू थप्नुहोस्:

git add Contributors.md

अब git commit कमाण्ड प्रयोग गरेर तिनी परिवर्तनहरू कमिट (commit) गर्नुहोस्:

git commit -m "Add <your-name> to Contributors list"

<your-name> को साटोमा तपाईंको आफ्नो नाम लेख्नुहोला।

GitHub मा परिवर्तनहरुलाई push गर्नुहोस।

git push कमाण्डको प्रयोग गरेर आफ्नो परिवर्तनहरु पुश (push) गर्नुहोस्:

git push -u origin <your-branch-name>

<your-branch-name> को सट्टामा तपाईले पहिले बनाएको branch को नामको लेख्नुहोस्।

उदाहरणको लागि:

git push -u origin add-ram-regmi 
यदि push गर्दा केहि समस्या परेमा यहाँ क्लिक गर्नुहोस् : - ### Authentication Error
remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
  remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information.
  fatal: Authentication failed for 'https://github.com//first-contributions.git/'</pre>
 [GitHub's tutorial](https://docs.github.com/en/authentication/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your-github-account)   मा गएर आफ्नो account को लागी SSH key generate र configure गर्नुहोस । 
</details>

## Review को लागि तपाईंको परिवर्तनहरू पेश गर्नुहोस्। 

यदि तपाईं आफ्नो गिटहब रिपोजिटोरी ( GitHub Repository) मा जानुहुन्छ भने, तपाइँले `Compare & pull request` बटन देख्नुहुनेछ। त्यस बटनमा क्लिक गर्नुहोस्।

एउटा पुल अनुरोध सिर्जना गर्नुहोस्

अब pull request पेश गर्नुहोस्।

submit pull request

केहि समयमै म यस प्रोजेक्टको Master branch मा तपाईका सबै परिवर्तनहरू Merge गर्नेछु। परिवर्तनहरू merge भएपछि हजुरले एक notification इमेल(email) प्राप्त गर्नुहुनेछ।

## यहाँबाट कहाँ जाने?

बधाई छ! तपाईले *Fork* -> *Clone*  -> *Edit*  -> *Pull Request*  कार्यप्रवाह(workflow) पूरा गर्नुभयो, जुन तपाई प्राय: एक योगदानकर्ता(contributor)को रूपमा गर्नुहुनेछ!

तपाईंले योगदान(contribution) दिनु भएकोमा खुशी मनाउनुहोस् र [web app](https://firstcontributions.github.io/#social-share) मा गएर आफ्नो friends and follower हरूमा पनि शेयर गर्नुहोस् ।

तपाइँलाई कुनै पनि मद्दत चाहिन्छ वा कुनै प्रश्न छ भने तपाइँ हाम्रो slack team मा सामेल हुन सक्नुहुनेछ। [join slack team](https://join.slack.com/t/firstcontributors/shared_invite/zt-1hg51qkgm-Xc7HxhsiPYNN3ofX2_I8FA).

अब तपाईले अन्य प्रोजेक्टहरूमा योगदान दिन सुरु गर्नुहोस्। हामीले तपाईंले गर्न सक्नुहुने सजिलो समस्याहरू(issues)को साथमा प्रोजेक्टहरूको सूची संकलन गरेका छौ हेर्नुहोस् ।. [list of projects in the web app](https://firstcontributions.github.io/#project-list)।

### [थप सामग्री](/computing_bytes_scratch_repo/additional-material/git_workflow_scenarios/additional-material.html)

## अन्य उपकरणहरू प्रयोग गर्ने tutorial हरु

| GitHub Desktop | Visual Studio 2017 | GitKraken | VS Code | Sourcetree App | IntelliJ IDEA |
| --- | --- | --- | --- | --- | --- |
| [GitHub Desktop](/computing_bytes_scratch_repo/gui-tool-tutorials/github-desktop-tutorial.html) | [Visual Studio 2017](/computing_bytes_scratch_repo/gui-tool-tutorials/github-windows-vs2017-tutorial.html) | [GitKraken](/computing_bytes_scratch_repo/gui-tool-tutorials/gitkraken-tutorial.html) | [Visual Studio Code](/computing_bytes_scratch_repo/gui-tool-tutorials/github-windows-vs-code-tutorial.html) | [Atlassian Sourcetree](/computing_bytes_scratch_repo/gui-tool-tutorials/sourcetree-macos-tutorial.html) | [IntelliJ IDEA](/computing_bytes_scratch_repo/gui-tool-tutorials/github-windows-intellij-tutorial.html) |

यो project लाई समर्थन गर्ने: