diff --git a/translations/README.te.md b/translations/README.te.md index dfb9b026cf4..c6fa2e0aeb4 100644 --- a/translations/README.te.md +++ b/translations/README.te.md @@ -31,14 +31,14 @@ ఇప్పుడు మీ కంప్యూటరులో ఫోర్క్ రిపోను క్లోన్ చేయండి. మీ GitHub ఖాతాకు వెళ్లండి, ఫోర్క్ రెపోని తెరిచి, క్లోన్ బటన్పై క్లిక్ చేసి, ఆపై * కాపీ * క్లిప్బోర్డ్కు క్లిక్ చేయండి. టెర్మినల్ తెరిచి కింది git ఆదేశాన్ని అమలు చేయండి: -``` +```bash git clone "url మీరు కాపీ చేసారు" ``` ఇక్కడ "url మీరు కాపీ" (కోట్ మార్కులు లేకుండా) ఈ రిపోజిటరీ కు URL (ఈ ప్రాజెక్టు మీ ఫోర్క్). Url ను పొందడానికి మునుపటి దశలను చూడండి. copy URL to clipboard ఉదాహరణకి: -``` +```bash git clone https://github.com/this-is-you/first-contributions.git ``` ఇక్కడ 'this-is-you' మీ GitHub వినియోగదారు పేరు. ఇక్కడ మీరు మొదటి-రచన రిపోజిటరీ యొక్క కంటెంట్లను GitHub లో మీ కంప్యూటర్కు కాపీ చేస్తున్నారు. @@ -47,14 +47,14 @@ git clone https://github.com/this-is-you/first-contributions.git మీ కంప్యూటర్లో రిపోజిటరీ డైరెక్టరీకి మార్చండి (మీరు ఇప్పటికే లేకపోతే): -``` +```bash cd first-contributions ``` ఇప్పుడు 'git checkout' ఆదేశం ఉపయోగించి ఒక శాఖను సృష్టించండి: ఉదాహరణకి: -``` +```bash git checkout -b add-alonzo-church ``` (బ్రాంచ్ యొక్క పేరు దానిలో పదం * add * ను కలిగి ఉండవలసిన అవసరం లేదు, కానీ చేర్చడానికి సహేతుకమైన విషయం ఎందుకంటే ఈ శాఖ యొక్క ఉద్దేశ్యం జాబితాకు మీ పేరును జోడించడం.) @@ -69,12 +69,12 @@ git checkout -b add-alonzo-church మీరు ప్రాజెక్ట్ డైరెక్టరీకి వెళ్లి `git status` ఆదేశాన్ని అమలు చేస్తే, మార్పులు ఉన్నాయి అని మీరు చూస్తారు. `Git add` కమాండ్ను ఉపయోగించి మీరు సృష్టించిన బ్రాంచ్లో ఈ మార్పులను జోడించండి: -``` +```bash git add Contributors.md ``` ఇప్పుడు ఆ మార్పులను 'git commit' ఆదేశం ఉపయోగించి కట్టుకోండి: -``` +```bash git commit -m "Add to Contributors list" ``` `` తొలగించు మరియు మీ పేరును జోడించండి. @@ -82,7 +82,7 @@ git commit -m "Add to Contributors list" ## మార్పులను GitHub కు పంపండి కమాండ్ ఉపయోగించి మీ మార్పులను పంపండి `git push`: -``` +```bash git push origin ``` మీరు ముందుగా సృష్టించిన బ్రాంచీ పేరుతో `` ను జోడించుము. diff --git a/translations/README.th.md b/translations/README.th.md index ee4e5e79cfb..1c40bd3903a 100644 --- a/translations/README.th.md +++ b/translations/README.th.md @@ -31,7 +31,7 @@ เปิดโปรแกรมเทอร์มินอลในเครื่อง (เช่น Terminal ใน MacOS หรือ cmd ใน Windows) แล้วรันคำสั่ง git ต่อไปนี้: -``` +```bash git clone "url ที่คัดลอกไว้" ``` "url ที่คัดลอกไว้" (ไม่ต้องใส่ " ") คือ url ของโปรเจ็คของคุณ คุณสามารถเลื่อนกลับไปดูวิธีการคัดลอก url ได้จากหัวข้อก่อนหน้านี้ @@ -39,7 +39,7 @@ git clone "url ที่คัดลอกไว้" copy URL to clipboard ตัวอย่าง: -``` +```bash git clone https://github.com/this-is-you/first-contributions.git ``` `this-is-you` คือชื่อ username ของคุณบน GitHub ถึงตรงนี้คุณได้ "Clone" โปรเจ็ค first-contributions ไปไว้ที่คอมพิวเตอร์ของคุณแล้ว @@ -48,16 +48,16 @@ git clone https://github.com/this-is-you/first-contributions.git ในโปรแกรมเทอร์มินอล เปลี่ยน directory ไปยังที่ที่คุณได้ Clone โปรเจ็คไว้: -``` +```bash cd first-contributions ``` ตรงนี้ให้สร้าง branch (แตกกิ่งการทำงานใหม่) ด้วยคำสั่ง `git checkout`: -``` +```bash git checkout -b <ชื่อ branch> ``` ตัวอย่าง: -``` +```bash git checkout -b add-alonzo-church ``` (ปกติชื่อของ branch ไม่จำเป็นต้องมีคำว่า *add* แต่ในโปรเจ็คนี้อยากให้ใช้ add-ชื่อ-ของ-คุณ เพราะชื่อของคุณจะไปแสดงอยู่ในรายชื่อ Contributors (ผู้เข้าร่วม) ของโปรเจ็คนี้ @@ -71,12 +71,12 @@ git checkout -b add-alonzo-church ในโปรแกรมเทอร์มินอล ถ้าคุณอยู่ที่ directory ของโปรเจ็ค ให้ลองพิมพ์คำสั่ง `git status` จะเห็นว่าคุณได้ทำการเปลี่ยนอะไรไปบ้าง เพิ่มการเปลี่ยนแปลงนั้น ๆ เข้าไปใน branch ที่เพิ่งสร้าง ด้วยคำสั่ง `git add`: -``` +```bash git add Contributors.md ``` ตอนนี้ "Commit" การเปลี่ยนแปลงนั้น ๆ ด้วยคำสั่ง `git commit`: -``` +```bash git commit -m "Add <ชื่อของคุณ> to Contributors list" ``` แทนที่ `<ชื่อของคุณ>` ด้วยชื่อจริง ๆ ของคุณ. @@ -84,7 +84,7 @@ git commit -m "Add <ชื่อของคุณ> to Contributors list" ## "Push" โค้ดที่เปลี่ยนไปขึ้นบน GitHub "Push" ผลงานที่คุณทำเมื่อกี้นี้ขึ้น GitHub ด้วยคำสั่ง `git push`: -``` +```bash git push origin <ชื่อ branch ของคุณ> ``` แทนที่ `<ชื่อ branch ของคุณ>` ด้วยชื่อของ branch ของคุณที่เพิ่งสร้างไปเมื่อหัวข้อที่แล้ว ๆ (add-ชื่อ-ของ-คุณ) diff --git a/translations/README.tl.md b/translations/README.tl.md index c7611474400..03424755640 100644 --- a/translations/README.tl.md +++ b/translations/README.tl.md @@ -30,7 +30,7 @@ Ngayon, i-clone ang na-fork na repository sa iyong kompyuter. Pumunta lang sa iy Buksan ang terminal at i-enter ang sumusunod na git command: -``` +```bash git clone "url na nakopya mo" ``` kung saan ang "url na nakopya mo" (wala ang mga panipi) ay ang URL ng repository (ang fork ng iyong proyekto). Pakitingnan nang mabuti ang mga nakaraang hakbang upang makuha ang url. @@ -38,7 +38,7 @@ kung saan ang "url na nakopya mo" (wala ang mga panipi) ay ang URL ng repository copy URL to clipboard Halimbawa: -``` +```bash git clone https://github.com/iyong-username/first-contributions.git ``` kung saan ang `iyong-username` ang iyong username sa GitHub. Mula sa command na ito, dito nagsisimula ng paggawa ng kopya ng nilalaman ng first-contributions repository mula sa GitHub papunta sa iyong kompyuter. @@ -47,16 +47,16 @@ kung saan ang `iyong-username` ang iyong username sa GitHub. Mula sa command na Pumunta sa kompyuter directory ng iyong repository (kung hindi ka pa nakapunta): -``` +```bash cd first-contributions ``` Ngayon, gumawa na ng isang branch gamit ang `git checkout` command: -``` +```bash git checkout -b ``` Halimbawa: -``` +```bash git checkout -b dagdag-juan-dela-cruz ``` (Hindi kailangan ng salitang *"dagdag"* sa pangalan ng i-dadagdag na branch pero makatwiran pa rin na gawin dahil layunin ng branch ang pagdagdag ng iyong pangalan sa isang listahan.) @@ -73,12 +73,12 @@ Kapag pumunta ka sa directory ng iyong proyekto at i-enter ang command na `git s Idagdag ang mga pagbabagong naganap papunta sa iyong branch gamit ang `git add` command: -``` +```bash git add Contributors.md ``` Ngayon, i-commit ang mga nabagong files gamit ang `git commit` command: -``` +```bash git commit -m "Add to Contributors list" ``` kung saan ang `` ay ang iyong pangalan. @@ -86,7 +86,7 @@ kung saan ang `` ay ang iyong pangalan. ## I-push ang mga changes sa GitHub I-push ang mga nabago mong files gamit ang command na `git push`: -``` +```bash git push origin ``` kung saan ang `` ay ang pangalan ng branch na naidagdag mo kani-kanila lang. diff --git a/translations/README.tr.md b/translations/README.tr.md index 4ccc3879c4f..856f3b0dbc4 100644 --- a/translations/README.tr.md +++ b/translations/README.tr.md @@ -26,7 +26,7 @@ Bu işlem sizin hesabınız altında projenin bir kopyasını oluşturacaktır. Daha sonra komut istemini açıp aşağıdaki git komutunu çalıştırın: -``` +```bash git clone "kopyaladığınız-url" ``` "kopyaladığınız-url" (tırnak işaretleri olmadan) yerine bu deponun GitHub sayfasından aldığınız linki kopyalayın. @@ -34,7 +34,7 @@ git clone "kopyaladığınız-url" copy URL to clipboard Örneğin: -``` +```bash git clone https://github.com/kullanıcı-adi/first-contributions.git ``` `kullanıcı-adi` sizin GitHub kullanıcı adınız. Burada GitHub üzerinde bulunan first-contributions reposunun içeriğini bilgisayarınıza kopyalıyorsunuz. @@ -43,16 +43,16 @@ git clone https://github.com/kullanıcı-adi/first-contributions.git Eğer henüz klasör içinde değilseniz komut isteminde ana klasörünün konumuna gidin: -``` +```bash cd first-contributions ``` `git checkout` komutunu kullanarak yeni bir dal(branch) oluşturun: -``` +```bash git checkout -b ``` Örneğin: -``` +```bash git checkout -b ekle-aydin-cagri-dumlu ``` (Dal ismi içinde *ekle* kelimesinin geçme zorunluluğu yok, fakat bu dal isminizi katkı sunanlar listesine ekleme amacıyla oluşturulduğundan, ekle yazmak mantıklı olacaktır.) @@ -63,13 +63,13 @@ git checkout -b ekle-aydin-cagri-dumlu `Contributors.md` dosyasının sonuna bu satırı ekleyin: -``` +```markdown - [İsminiz](https://github.com/kullanici-adiniz) ``` Örneğin: -``` +```markdown - [Ahmet Yılmaz](https://github.com/ahmet-yilmaz) ``` @@ -81,12 +81,12 @@ Komut istemi üzerinde proje klasörüne gidip `git status` komutunu yazdığın `git add` komutu ile bu değişiklikleri oluşturduğunuz dal içine ekleyin. -``` +```bash git add Contributors.md ``` Şimdi `git commit` komutunu kullanarak değişikliklerinizi onaylayın (commit): -``` +```bash git commit -m " katkıda bulunanlar listesine eklendi" ``` `` yerine kendi isminizi yazın. @@ -96,7 +96,7 @@ git commit -m " katkıda bulunanlar listesine eklendi" ## Değişiklikleri GitHub üzerine "itme" (Push) `git push` komutu ile değişikliklerinizi ittirin: -``` +```bash git push origin ``` `` yerine daha önce oluşturduğunuz dalın ismini girin. diff --git a/translations/README.ua.md b/translations/README.ua.md index 48f6aff1ae9..252d6e80b4a 100644 --- a/translations/README.ua.md +++ b/translations/README.ua.md @@ -26,7 +26,7 @@ Відкрийте термінал і виконайте наступні команди: -``` +```bash git clone "посилання, яке ви щойно скопіювали" ``` де `посилання, яке ви щойно скопіювали` (без лапок) - адреса цього репозиторію. Дивіться попередній крок для того, щоб отримати цю адресу. @@ -34,7 +34,7 @@ git clone "посилання, яке ви щойно скопіювали" copy URL to clipboard Наприклад: -``` +```bash git clone https://github.com/this-is-you/first-contributions.git ``` де `this-is-you` - ваш GitHub нікнейм. Таким чином, ви копіюєте вміст репозиторію з GitHub, в який збираєтесь зробити внесок, на ваш комп’ютер. @@ -43,16 +43,16 @@ git clone https://github.com/this-is-you/first-contributions.git Перейдіть в директорію з репозиторієм на вашому комп’ютері (якщо ви ще цього не зробили): -``` +```bash cd first-contributions ``` Тепер створюємо гілку за допомогою команди `git checkout`: -``` +```bash git checkout -b ``` Наприклад: -``` +```bash git checkout -b add-petro-church ``` (Назва гілки не повинна обов’язково містити слово *add*, але це має сенс, якщо майбутні зміни передбачають додавання чогось, наприклад, вашого імені у список контрибуторів.) @@ -60,12 +60,12 @@ git checkout -b add-petro-church ## Робимо необхідні зміни та записуємо їх в репозиторій Тепер відкриваємо файл `Contributors.md` в текстовому редакторі та додаємо ваше ім’я, а потім зберігаємо файл. Якщо ви перейдете в директорію проєкту і виконаєте команду `git status`, ви побачите зміни. Додайте ці зміни до гілки, яку ви тільки що створили, за допомогою команди `git add`: -``` +```bash git add Contributors.md ``` Тепер запишіть ці зміни за допомогою команди `git commit`: -``` +```bash git commit -m "Add to Contributors list" ``` замініть `` своїм іменем. @@ -73,7 +73,7 @@ git commit -m "Add to Contributors list" ## Відправляємо зміни в GitHub Відправте зміни на віддалений репозиторій в GitHub за допомогою команди `git push`: -``` +```bash git push origin ``` замініть `` назвою гілки, яку ви створили раніше. @@ -95,34 +95,34 @@ git push origin ## Тримаємо свій репозиторій синхронізованим Спочатку перейдіть на основну гілку. - ``` + ```bash git checkout master ``` Потім додайте мій репозиторій як `upstream remote url`: -``` +```bash git remote add upstream https://github.com/Roshanjossey/first-contributions ``` Таким чином ми повідомляємо git про те, що інша версія цього проєкту існує за визначеною адресою і ми називаємо це `upstream`. Як тільки зміни будуть об’єднані, заберіть нову версію мого репозиторію: -``` +```bash git fetch upstream ``` Тобто ви забираєте всі зміни з мого репозиторію. Тепер ви повинні об’єднати зміни, які прийшли з мого репозиторію, у вашу основну гілку. -``` +```bash git rebase upstream/master ``` Цим ви приймаєте всі зміни до основної гілки. Якщо ви відправите зміни до GitHub, ваше відгалуження також буде містити ці зміни: -``` +```bash git push origin master ``` Зауважте, що ви відправляєте зміни до віддаленого репозиторію, який був названий `origin`. Тепер я об’єднав вашу гілку `` з моєю основною гілкою, а ви об’єднали мою основну гілку зі своєю основною гілкою. Гілка, яку ви створювали для внесення змін, більше не потрібна. Ви можете видалити її: -``` +```bash git branch -d ``` Крім цього, ви можете видалити і її віддалену версію: -``` +```bash git push origin --delete ``` Називати гілку в такий спосіб не обов’язково, однак це було зроблено з певною метою, аби показати призначення цієї гілки. Існування будь-якої гілки може бути коротким, адже врешті-решт, всі гілки об’єднуються з основною гілкою. diff --git a/translations/README.un-aln.md b/translations/README.un-aln.md index ab81e39a4fe..404826f65ac 100644 --- a/translations/README.un-aln.md +++ b/translations/README.un-aln.md @@ -27,7 +27,7 @@ _⟟⎎ ⊬⍜⎍'⍀⟒ ⋏⍜⏁ ☊⍜⋔⎎⍜⍀⏁⏃⏚⌰⟒ ⍙⟟⏁ ⍜⌿⟒⋏ ⏃ ⏁⟒⍀⋔⟟⋏⏃⌰ ⏃⋏⎅ ⍀⎍⋏ ⏁⊑⟒ ⎎⍜⌰⌰⍜⍙⟟⋏☌ `git` ☊⍜⋔⋔⏃⋏⎅: -``` +```bash git clone "url you just copied" ``` @@ -37,7 +37,7 @@ git clone "url you just copied" ⎎⍜⍀ ⟒⌖⏃⋔⌿⌰⟒: -``` +```bash git clone https://github.com/this-is-you/first-contributions.git ``` @@ -47,19 +47,19 @@ git clone https://github.com/this-is-you/first-contributions.git ☊⊑⏃⋏☌⟒ ⏁⍜ ⏁⊑⟒ ⍀⟒⌿⍜⌇⟟⏁⍜⍀⊬ ⎅⟟⍀⟒☊⏁⍜⍀⊬ ⍜⋏ ⊬⍜⎍⍀ ☊⍜⋔⌿⎍⏁⟒⍀ (⟟⎎ ⊬⍜⎍ ⏃⍀⟒ ⋏⍜⏁ ⏃⌰⍀⟒⏃⎅⊬ ⏁⊑⟒⍀⟒): -``` +```bash cd first-contributions ``` ⋏⍜⍙ ☊⍀⟒⏃⏁⟒ ⏃ ⏚⍀⏃⋏☊⊑ ⎍⌇⟟⋏☌ ⏁⊑⟒ `git checkout` ☊⍜⋔⋔⏃⋏⎅: -``` +```bash git checkout -b your-new-branch-name ``` ⎎⍜⍀ ⟒⌖⏃⋔⌿⌰⟒: -``` +```bash git checkout -b add-alonzo-church ``` @@ -73,13 +73,13 @@ git checkout -b add-alonzo-church ⏃⎅⎅ ⏁⊑⍜⌇⟒ ☊⊑⏃⋏☌⟒⌇ ⏁⍜ ⏁⊑⟒ ⏚⍀⏃⋏☊⊑ ⊬⍜⎍ ⟊⎍⌇⏁ ☊⍀⟒⏃⏁⟒⎅ ⎍⌇⟟⋏☌ ⏁⊑⟒ `git add` ☊⍜⋔⋔⏃⋏⎅: -``` +```bash git add Contributors.md ``` ⋏⍜⍙ ☊⍜⋔⋔⟟⏁ ⏁⊑⍜⌇⟒ ☊⊑⏃⋏☌⟒⌇ ⎍⌇⟟⋏☌ ⏁⊑⟒ `git commit` ☊⍜⋔⋔⏃⋏⎅: -``` +```bash git commit -m "Add to Contributors list" ``` @@ -89,7 +89,7 @@ git commit -m "Add to Contributors list" ⌿⎍⌇⊑ ⊬⍜⎍⍀ ☊⊑⏃⋏☌⟒⌇ ⎍⌇⟟⋏☌ ⏁⊑⟒ ☊⍜⋔⋔⏃⋏⎅ `git push`: -``` +```bash git push origin -u ``` diff --git a/translations/README.ur.md b/translations/README.ur.md index 94655e6d055..67de3091818 100644 --- a/translations/README.ur.md +++ b/translations/README.ur.md @@ -41,7 +41,7 @@ ایک ٹرمینل کھولیں اور مندرجہ ذیل گٹ کمانڈ چلائیں: -``` +```bash git clone "یو آر ایل جو آپ نے ابھی کاپی کیا" ``` @@ -51,7 +51,7 @@ git clone "یو آر ایل جو آپ نے ابھی کاپی کیا"
مثال کے طور پر:
-``` +```bash git clone https://github.com/this-is-you/first-contributions.git ``` @@ -61,19 +61,19 @@ git clone https://github.com/this-is-you/first-contributions.git
اپنے کمپیوٹر پر ریپوزٹری کی ڈائرکٹری تبدیل کریں (اگرآپ پہلے سے وہاں نہیں ہیں):
-``` +```bash cd first-contributions ```
اب git checkout کمانڈاستعمال کرتے ہوئے ایک شاخ تشکیل دیں :
-``` +```bash git checkout -b ```
مثال کے طور پر:
-``` +```bash git checkout -b add-alonzo-church ``` @@ -85,13 +85,13 @@ git checkout -b add-alonzo-church اب Contributors.md فائل کو ٹیکسٹ ایڈیٹر پر کھولیں، اپنا نام اس میں شامل کریں، اور پھر فائل کو محفوظ کریں. اگر آپ پراجیکٹ ڈائرکٹری میں جاتے ہیں اور کمانڈ git status کو چلاتے ہیں، تو آپ دیکھیں گے کہ تبدیلیاں موجود ہیں. ان تبدیلیوں کو اس شاخ میں git add کمانڈ استعمال کرتے ہوئے شامل کریں، جسے ابھی آپ نے بنایا تھا۔ : -``` +```bash git add Contributors.md ```
اب git commit کمانڈ کا استعمال کرتے ہوئے ان تبدیلیوں کو سونپ دیں:
-``` +```bash git commit -m "Add to Contributors list" ``` @@ -101,7 +101,7 @@ git commit -m "Add to Contributors list"
git push کمانڈ کے ذریعے اپنی تبدیلیوں کو پش کریں:
-``` +```bash git push origin ``` diff --git a/translations/README.uz.md b/translations/README.uz.md index d86654b6b91..b3e08c0e961 100644 --- a/translations/README.uz.md +++ b/translations/README.uz.md @@ -28,7 +28,7 @@ Endi fork qilingan repositoryni kompyuteringizga klon qiling. Github akkountingi Terminalni oching va quyidagi git buyruqlarini yurg'izing: -``` +```bash git clone "siz horizgina ko'chirib olgan url" ``` @@ -38,7 +38,7 @@ bu yerda "siz horizgina ko'chirib olgan url" (qo'shtirnoqlarsiz) ushbu repositor Misol uchun: -``` +```bash git clone https://github.com/bu-siz/first-contributions.git ``` @@ -49,19 +49,19 @@ ko'chiryapsiz. Kompyuteringizda repository papkasiga kiring (agar u yerda bo'lmasangiz) -``` +```bash cd first-contributions ``` Endi `git switch` buyrug'i orqali branch yarating: -``` +```bash git switch -c yangi-branch-nomingiz ``` Misol uchun: -``` +```bash git switch -c add-aliml92 ``` @@ -75,13 +75,13 @@ Agar proyekt papkasiga o'tsangiz va `git status` buyrug'ini yurg'izsangiz, o'zga `git add` buyrug'i yordamida hosil qilgan branchingizga o'zgarishlarni qo'shing: -``` +```bash git add Contributors.md ``` Endi `git commit` buyrug'i yordamida bu o'zgarishlarni commit qiling: -``` +```bash git commit -m "Contributors royxatiga ismingiz-ni kiritish" ``` `ismingiz-` ni o'rniga o'zingizni ismingizni yozing. @@ -90,7 +90,7 @@ git commit -m "Contributors royxatiga ismingiz-ni kiritish" `git push` buyrug'i bilan o'zgartishlaringizni push qiling: -``` +```bash git push origin -u yangi-branch-nomingiz ``` diff --git a/translations/README.vn.md b/translations/README.vn.md index 14090269c79..b484d60d124 100644 --- a/translations/README.vn.md +++ b/translations/README.vn.md @@ -30,7 +30,7 @@ Bây giờ sao chép kho mã nguồn này vào máy của bạn. Nhấn vào nú Mở một bộ xử lý terminal và chạy lệnh git sau đây: -``` +```bash git clone "url bạn vừa sao chép" ``` Trong đó "url bạn vừa sao chép" (không có dấu ngoặc kép) là url dẫn vào kho mã nguồn này. Xem các bước trước đó để có được url. @@ -38,7 +38,7 @@ Trong đó "url bạn vừa sao chép" (không có dấu ngoặc kép) là url d copy URL to clipboard Ví dụ: -``` +```bash git clone https://github.com/tên-bạn/first-contributions.git ``` Trong đó `tên-bạn` là tên người dùng github của bạn. Ở đây bạn đang sao chép nội dung của kho mã nguồn "first-contributions" trong github vào máy tính của bạn @@ -47,16 +47,16 @@ Trong đó `tên-bạn` là tên người dùng github của bạn. Ở đây b Thay đổi môi trường làm việc bằng thư mục của kho mã nguồn trên máy tính của bạn. -``` +```bash cd first-contributions ``` Bây giờ tạo ra một chi nhánh sử dụng lệnh `git checkout` -``` +```bash git checkout -b ``` Ví dụ: -``` +```bash git checkout -b thêm-Tran-Ly-Vu ``` (Tên của chi nhánh không cần phải có từ *thêm* trong đó, nhưng nó được dùng vì mục đích của chi nhánh này là thêm tên của bạn vào danh sách.) @@ -72,12 +72,12 @@ Nếu bạn vào thư mục hiện tại của project và thực hiện lệnh Thêm những thay đổi vào chi nhánh bạn vừa tạo bằng lệnh `git add`: -``` +```bash git add Contributors.md ``` Bây giờ chấp nhận những thay đổi bằng cách sử dụng dòng lệnh `git commit` dưới đây. -``` +```bash git commit -m "Them vào danh sách Cộng tác viên" ``` @@ -86,7 +86,7 @@ Thay thế `` với tên của bạn ## Đẩy thay đổi lên github Đẩy những thay đổi của bạn sử dụng `git push` -``` +```bash git push origin ``` Thay thế `` với tên của chi nhánh bạn tạo ra trước đó diff --git a/translations/README.yor.md b/translations/README.yor.md index b971c66de5b..0ad759adae3 100644 --- a/translations/README.yor.md +++ b/translations/README.yor.md @@ -28,7 +28,7 @@ oya e de ibi ipamọ yi si account yin, e lo si githubu accounti yin, e te 'clon e sii ebute in ero ise yin, e te pipaṣẹ to be a labe oro yi si: -``` +```bash git clone "ọna asopọ ' te daakọ" ``` @@ -38,7 +38,7 @@ ibi, "ọna asopọ ' te daakọ" (lai awọn ' quote iṣmiṣ) lo je ono asopo oye ko ri bi: -``` +```bash git clone https://github.com/oruko yin/first-contributions.git ``` @@ -48,19 +48,19 @@ ibi `oruko yin` ni oruko githubu accounti yin. ni bi yi en didako awon akoonu ' seda eka si ero, amo ko to sebe te pipaṣẹ yi si ibe -``` +```bash cd first-contributions ``` oya seda eka si pelu ' `git checkout` pipase: -``` +```bash git checkout -b ``` fun apere: -``` +```bash git checkout -b add-luke-oliff ``` @@ -76,13 +76,13 @@ to ba te pipase `git status` si ebute re, wa re awon ayipada ti ose fi won mo eka ti ode pelu pipase yii `git add`: -``` +```bash git add Contributors.md ``` oya dawon papop pelu pipase yi `git commit`: -``` +```bash git commit -m "Add to Contributors list" ``` @@ -92,7 +92,7 @@ yi `` pada si oruko re. te pipase yi `git push`: -``` +```bash git push origin ``` diff --git a/translations/README.zh-cn.md b/translations/README.zh-cn.md index 95c3fc976ab..19f03889389 100644 --- a/translations/README.zh-cn.md +++ b/translations/README.zh-cn.md @@ -34,8 +34,8 @@ git clone "刚才复制的 url 链接" copy URL to clipboard 譬如: -``` -git clone https://github.com/Github用户名/first-contributions.git +```bash +git clone https://github.com//first-contributions.git ``` 'Github 用户名' 指的是你的 Github 用户名。这一步,这个操作将会克隆你账户名下 first-contributions 这个代码仓库到本地电脑上。 @@ -44,16 +44,16 @@ git clone https://github.com/Github用户名/first-contributions.git 在命令行窗口中把目录切换到 first-contributions -``` +```bash cd first-contributions ``` 接下来使用 `git switch` 命令新建一个代码分支 -``` +```bash git switch -c <新分支的名称> ``` 譬如: -``` +```bash git switch -c add-myname ``` @@ -65,12 +65,12 @@ git switch -c add-myname git status -``` +```bash git add Contributors.md ``` 现在就可以使用 `git commit` 命令 commit 你的修改了。 -``` +```bash git commit -m "Add <你的名字> to Contributors list" ``` 将 `<你的名字>` 替换成你的名字 @@ -78,7 +78,7 @@ git commit -m "Add <你的名字> to Contributors list" ## 将改动 Push(推送)到 GitHub 使用 `git push` 命令推送代码 -``` +```bash git push origin <分支的名称> ``` 将 `<分支的名称>` 替换为之前新建的分支名称。 diff --git a/translations/README.zh-tw.md b/translations/README.zh-tw.md index 7e0ed19a74f..044a4a3cde9 100644 --- a/translations/README.zh-tw.md +++ b/translations/README.zh-tw.md @@ -28,7 +28,7 @@ 隨後打開命令列視窗,鍵入如下 git 命令: -``` +```bash git clone "url you just copied" ``` "url you just copied"(去掉雙引號)就是複製到妳/你帳戶名下的儲存庫地址。取得這鏈接地址的方法請見上一步。 @@ -36,8 +36,8 @@ git clone "url you just copied" copy URL to clipboard 譬如: -``` -git clone https://github.com/this-is-you/first-contributions.git +```bash +git clone https://github.com//first-contributions.git ``` 'this-is-you' 指的就是你/妳自己的 GitHub 用戶名。這一步,會將你/妳的 first-contributions 儲存庫複製到你的電腦上。 @@ -46,16 +46,16 @@ git clone https://github.com/this-is-you/first-contributions.git 下面的命令能在命令行窗口中,把目錄切換到 first-contributions。 -``` +```bash cd first-contributions ``` 接下來使用 `git switch` 命令建立一個程式碼分支: -``` +```bash git switch -c ``` 譬如: -``` +```bash git switch -c add-david ``` @@ -67,12 +67,12 @@ git switch -c add-david git status -``` +```bash git add Contributors.md ``` 現在就可以使用 `git commit` 命令 commit(提交)你/妳的修改了。 -``` +```bash git commit -m "Add to Contributors list" ``` 將 `` 替換為自己的名字 @@ -80,7 +80,7 @@ git commit -m "Add to Contributors list" ## 將更動發佈(Push)到 GitHub 使用 `git push` 命令發佈代碼 -``` +```bash git push origin ``` 將 `` 替換為之前新建的分支名稱。 diff --git a/translations/README.zul.md b/translations/README.zul.md index 120cfff338d..ed3c6c39c74 100644 --- a/translations/README.zul.md +++ b/translations/README.zul.md @@ -31,7 +31,7 @@ Manje faka i-repo efakwe emshini wakho kumshini wakho. Yiya ku-akhawunti yakho y Vula i-console bese ugijima umyalo we-git: -``` +```bash git clone "url you just copied" ``` lapho "u-url osuvele ukopishe khona" (ngaphandle kwama-quote marks) yi-url kule ndawo yokugcina (ifomu lakho lephrojekthi). Bona izinyathelo zangaphambilini ukuthola i-url. @@ -41,7 +41,7 @@ lapho "u-url osuvele ukopishe khona" (ngaphandle kwama-quote marks) yi-url kule Ngokwesibonelo: -``` +```bash git clone https://github.com/this-is-you/first-contributions.git ``` @@ -51,19 +51,19 @@ iphi this-is-youigama lomsebenzisi lakho le-GitHub. Lapha ukopisha okuqukethwe k Shintsha kwirekhodi lokugcina ekhompyutheni yakho (uma ungasekho kakade): -``` +```bash cd first-contributions ``` Manje dala igatsha usebenzisa `git checkout` umyalo: -``` +```bash git checkout -b ``` Ngokwesibonelo -``` +```bash git checkout -b engeza-adam-kowalski ``` (Igama legatsha ayidingi ukuba izwi engeza kuwo, kodwa into enengqondo ukufaka ngoba inhloso yaleli gatsha ukwengeza igama lakho uhlu.) @@ -79,13 +79,13 @@ Uma uya encwadini yomhlahlandlela bese wenza umyalo `git status`, uzobona kukho Engeza lezo zinguquko egatsheni owake wadala usebenzisa `git add` umyalo: -``` +```bash git add Contributors.md ``` Manje yenza lezo zinguquko usebenzisa `git commit` umyalo: -``` +```bash git commit -m "Add to Contributors list" ``` @@ -95,7 +95,7 @@ ukufaka esikhundleni `` ngegama lakho. Pushisa izinguquko zakho usebenzisa umyalo `git push`: -``` +```bash git push origin ```