Conversation
* Translated `ch02-git-basics-chapter.asc` and its sections in `book/02-git-basics/sections/`. * Preserved original English terms, commands, and code blocks. * Added Arabic translations in parentheses next to technical terms. * Retained AsciiDoc formatting (cross-references, image tags, code blocks). Co-authored-by: essa01442 <73353997+essa01442@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
This PR replaces substantial portions of the English Pro Git source content for Chapter 1 and Chapter 2 (and their included section files) with Arabic translations, while keeping many technical terms/commands in English and adding Arabic glosses in parentheses.
Changes:
- Translated Chapter 1 and several
book/01-introduction/sections/*.ascfiles to Arabic. - Translated Chapter 2 and several
book/02-git-basics/sections/*.ascfiles to Arabic. - Updated headings (including
Summary) to include Arabic translations in parentheses.
Reviewed changes
Copilot reviewed 16 out of 16 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| ch01-getting-started.asc | Replaces Chapter 1 intro + summary with Arabic text. |
| book/01-introduction/sections/about-version-control.asc | Translates “About Version Control” section to Arabic. |
| book/01-introduction/sections/history.asc | Translates “A Short History of Git” section to Arabic. |
| book/01-introduction/sections/what-is-git.asc | Translates “What is Git?” section to Arabic. |
| book/01-introduction/sections/command-line.asc | Translates “The Command Line” section to Arabic. |
| book/01-introduction/sections/installing.asc | Translates “Installing Git” section to Arabic. |
| book/01-introduction/sections/first-time-setup.asc | Translates “First-Time Git Setup” section to Arabic. |
| book/01-introduction/sections/help.asc | Translates “Getting Help” section to Arabic. |
| ch02-git-basics-chapter.asc | Replaces Chapter 2 intro + summary with Arabic text and updates headings. |
| book/02-git-basics/sections/getting-a-repository.asc | Translates “Getting a Git Repository” section to Arabic. |
| book/02-git-basics/sections/recording-changes.asc | Translates “Recording Changes” section to Arabic. |
| book/02-git-basics/sections/viewing-history.asc | Translates “Viewing the Commit History” section to Arabic. |
| book/02-git-basics/sections/undoing.asc | Translates “Undoing Things” section to Arabic. |
| book/02-git-basics/sections/remotes.asc | Translates “Working with Remotes” section to Arabic. |
| book/02-git-basics/sections/tagging.asc | Translates “Tagging” section to Arabic. |
| book/02-git-basics/sections/aliases.asc | Translates “Git Aliases” section to Arabic. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| == Git Basics (أساسيات Git) | ||
|
|
||
| If you can read only one chapter to get going with Git, this is it. | ||
| This chapter covers every basic command you need to do the vast majority of the things you'll eventually spend your time doing with Git. | ||
| By the end of the chapter, you should be able to configure and initialize a repository, begin and stop tracking files, and stage and commit changes. | ||
| We'll also show you how to set up Git to ignore certain files and file patterns, how to undo mistakes quickly and easily, how to browse the history of your project and view changes between commits, and how to push and pull from remote repositories. | ||
| إذا كان بإمكانك قراءة فصل واحد فقط للبدء مع Git (نظام إدارة الإصدارات)، فهذا هو. | ||
| يغطي هذا الفصل كل أمر أساسي (basic command) تحتاجه للقيام بالغالبية العظمى من الأشياء التي ستقضي وقتك في النهاية في القيام بها مع Git. | ||
| بحلول نهاية الفصل، يجب أن تكون قادراً على تكوين (configure) وتهيئة (initialize) مستودع (repository)، وبدء وإيقاف تتبع (tracking) الملفات، وتجهيز (stage) وتأكيد (commit) التغييرات. |
There was a problem hiding this comment.
This repository is the English source of Pro Git; per TRANSLATING.md, translations are maintained in separate language repos (Arabic has its own). These Arabic translations should be moved to the dedicated Arabic translation repository rather than changing the English source files here.
| == Getting Started (البداية) | ||
|
|
||
| This chapter will be about getting started with Git. | ||
| We will begin by explaining some background on version control tools, then move on to how to get Git running on your system and finally how to get it set up to start working with. | ||
| At the end of this chapter you should understand why Git is around, why you should use it and you should be all set up to do so. | ||
| سيتحدث هذا الفصل عن كيفية البدء مع Git (نظام إدارة الإصدارات). | ||
| سنبدأ بشرح بعض الخلفيات عن أدوات Version Control (التحكم في الإصدارات)، ثم ننتقل إلى كيفية تشغيل Git (نظام إدارة الإصدارات) على نظامك وأخيراً كيفية إعداده للبدء في العمل به. | ||
| في نهاية هذا الفصل يجب أن تفهم لماذا يوجد Git (نظام إدارة الإصدارات)، ولماذا يجب أن تستخدمه، ويجب أن تكون مستعداً تماماً للقيام بذلك. |
There was a problem hiding this comment.
Same as other translated files in this PR: this repo is the English source, and Arabic translations should be contributed via the dedicated Arabic translation repository (see TRANSLATING.md). Please avoid translating the English chapter files here.
ch02-git-basics-chapter.ascand its sections inbook/02-git-basics/sections/.Changes
Context