diff --git a/lessons/git-en/install/index.md b/lessons/git-en/install/index.md index 55c3836855..60b39c5101 100644 --- a/lessons/git-en/install/index.md +++ b/lessons/git-en/install/index.md @@ -1,56 +1,55 @@ -# Git +# جيت (Git) -There is another program that we will install and that will later let us cooperate -and develop programs together with other people. It's called [Git](https://git-scm.com/). -Let's install it and set it up. +هناك برنامج آخر سنقوم بتثبيته والذي سيمكننا لاحقًا من التعاون +وتطوير البرامج مع أشخاص آخرين. إنه يسمى [Git](https://git-scm.com/). +دعنا نقوم بتثبيته وإعداده. -On some operating systems, for convenience, we shall also install [Git Credential Manager](https://github.com/GitCredentialManager/git-credential-manager) +على بعض أنظمة التشغيل ، من أجل تبسيط المهام ، سنقوم أيضًا بتثبيت [Git Credential Manager](https://github.com/GitCredentialManager/git-credential-manager) -Choose a page depending on your operating system: +اختر صفحة حسب نظام التشغيل الخاص بك: * [Linux]({{ subpage_url('linux') }}) * [Windows]({{ subpage_url('windows') }}) * [macOS]({{ subpage_url('macos') }}) -After you finish installation of `git` return back here to finish the next part **Settings**. +بعد الانتهاء من تثبيت `git` ، عد إلى هنا لإنهاء الجزء التالي **(الإعدادات)**. -## Settings +## الإعدادات -Several people can collaborate in one project in Git. -To track who make a specific change, we need to -tell Git our name and e-mail. -At the command prompt, enter the following commands, but change the -name and address to yours: +يمكن للعديد من الأشخاص التعاون في مشروع واحد في Git. +لتتبع من قام بتغيير محدد ، نحتاج إلى +أخبار Git باسمنا وعنوان بريدنا الإلكتروني. +على المحطة (terminal) ، أدخل الأوامر التالية ، ولكن قم بتغيير +الاسم والعنوان إلى اسمك: ```console $ git config --global user.name "Jane Berry" $ git config --global user.email jane.berry@example.com ``` -You can of course use a nickname or even -fake email, but then it will be more complicated to -engage in team projects. -Anyway, your name and email can be changed at any time -by typing the configuration commands again. +يمكنك بالطبع استخدام اسم مستعار أو حتى +البريد الإلكتروني المزيف ، ولكن بعد ذلك سيكون الأمر أكثر تعقيدًا +للمشاركة في مشاريع الفريق. +على أي حال ، يمكن تغيير اسمك وعنوان بريدك الإلكتروني في أي وقت +عن طريق كتابة الأوامر مرة أخرى. > [note] -> If you are afraid of spam, do not worry. -> Your e-mail address can be viewed only by people who download the project -> to which you contributed. -> Spammers mostly focus on less technically capable people than Git users. :) +> إذا كنت تخشى من البريد العشوائي(spam) ، فلا تقلق. +> يمكن ان تقتصر معرفة عنوان بريدك الإلكتروني فقط على الأشخاص الذين يقومون بتنزيل المشروع +> الذي ساهمت فيه. +> يركز مُرسلو البريد العشوائي (spam) بشكل أساسي على الأشخاص الأقل قدرة تقنيًا من مستخدمي Git. :) -You can also set up color listings - if you don't think -(like some Git authors) that the command line should be black and white: +يمكنك أيضًا إعداد قوائم الألوان - إذا كنت لا تعتقد (مثل بعض مؤلفي Git) أن سطر الأوامر يجب أن يكون أسود وأبيض: ```console $ git config --global color.ui true ``` > [note] -> Running `git config` does not print any message that the operation was successful. -> This is normal; many other commands behave like that, for example `cd`. +> لا يقوم تشغيل `git config` بطباعة أي رسالة تفيد بأن العملية كانت ناجحة. +> هذا طبيعي ؛ العديد من الأوامر الأخرى تتصرف على هذا النحو ، على سبيل المثال `cd`. > -> You can check your current git configuration with the command: +> يمكنك التحقق من إعدادات git الحالية باستخدام الأمر: > > ```console > $ git config --global --list @@ -58,6 +57,6 @@ $ git config --global color.ui true > user.email=jane.berry@example.com > ``` -And that's all! You have installed and configured `Git`. +هذا كل شيء! لقد قمت بتثبيت و ضبط اعدادات `Git`. -**Congratulations!** +**تهانينا!** \ No newline at end of file diff --git a/lessons/git-en/install/info.yml b/lessons/git-en/install/info.yml index 7661eb5be6..b734e9b6ef 100644 --- a/lessons/git-en/install/info.yml +++ b/lessons/git-en/install/info.yml @@ -1,6 +1,7 @@ -title: Git installation +title: تثبيت Git (installation) style: md attribution: +- Translated by Mussab Abdalla - Translated by Marketa Muzikova - | Originally written by Petr Viktorin, 2014-2017 for [PyLadies CZ]. @@ -8,8 +9,8 @@ attribution: license: cc-by-sa-40 subpages: linux: - title: Git installation - Linux + title: Git (installation) تثبيت - (Linux) لينيكس windows: - title: Git installation - Windows + title: Git (installation) تثبيت - (Windows) ويندوز macos: - title: Git installation - macOS + title: Git (installation) تثبيت - (macOS) ماكنتوش diff --git a/lessons/git-en/install/linux.md b/lessons/git-en/install/linux.md index 5449c665f8..6e709e3d82 100644 --- a/lessons/git-en/install/linux.md +++ b/lessons/git-en/install/linux.md @@ -1,23 +1,23 @@ -## Git installation on Ubuntu/Debian +## تثبيت Git على Ubuntu/Debian ```console sudo apt-get install git nano pass ``` -If you are using some other distribution we expect that you already know -how to install programs. Go ahead and install *git*, *pass* and *nano*. +إذا كنت تستخدم توزيعًا آخر ، فإننا نتوقع أنك تعرف بالفعل +كيفية تثبيت البرامج. تابع وقم بتثبيت *git* و *pass* و *nano*. -After you have installed git, choose your Git editor. -If you do not like Vim (or you do not know what it is) -enter this command to choose a more user-friendly editor called Nano: +بعد تثبيت git ، اختر محرر Git الخاص بك. +إذا كنت لا تحب Vim (أو لا تعرف ما هو) +أدخل هذا الأمر لاختيار محرر أكثر سهولة في الاستخدام يسمى Nano: ```console git config --global core.editor nano ``` -After this step, please install the [Git Credential Manager](https://github.com/GitCredentialManager/git-credential-manager) by downloading **gcm-linux.(version).deb** package from [official releases of gcm](https://github.com/GitCredentialManager/git-credential-manager/releases/latest). +بعد هذه الخطوة ، يرجى تثبيت [Git Credential Manager](https://github.com/GitCredentialManager/git-credential-manager) عن طريق تنزيل **gcm-linux.(version).deb** من [الإصدارات الرسمية لـ gcm](https://github.com/GitCredentialManager/git-credential-manager/releases/latest). -After that install and configure with commands: +بعد ذلك قم بالتثبيت وضبط الاعدادات باستخدام الأوامر: ```console sudo dpkg -i @@ -25,11 +25,11 @@ git-credential-manager-core configure git config --global credential.credentialStore gpg ``` -Next, we need to generate a secure credentials store. Run following two commands to create and use a new GPG key pair +بعد ذلك ، نحتاج إلى إنشاء مخزن بيانات اعتماد آمن. قم بتشغيل الأمرين التاليين لإنشاء واستخدام زوج مفاتيح GPG جديد ```console gpg --gen-key -pass init # where is the username generated in step 1 +pass init # حيث هو اسم المستخدم الذي تم إنشاؤه في الخطوة 1 ``` -Now continue with the rest of setup at [General Settings in Git install]({{ lesson_url('git-en/install') }}). +الآن تابع بقية الإعداد في [الإعدادات العامة في تثبيت Git]({{ lesson_url('git-en/install') }}). \ No newline at end of file diff --git a/lessons/git-en/install/macos.md b/lessons/git-en/install/macos.md index f37d454bae..744f1fafd3 100644 --- a/lessons/git-en/install/macos.md +++ b/lessons/git-en/install/macos.md @@ -1,25 +1,25 @@ -## macOS installation of git +## تثبيت Git على macOS -Try to run `git` on the command line. -If it's already installed, it will show you how to use it. -Otherwise, install it using Homebrew: +حاول تشغيل `git` على سطر الأوامر. +إذا كان مثبتًا بالفعل ، فسيُظهر لك كيفية استخدامه. +وإلا ، فقم بتثبيته باستخدام Homebrew: ```console brew install git ``` -It is still necessary to set up your Git editor (enter `nano`, -even if you installed for example VS Code during the installation of the editor). -You do that with this command: +لا يزال من الضروري إعداد محرر Git الخاص بك (أدخل `nano` ، +حتى إذا قمت بتثبيت -على سبيل المثال- VS Code ). +يمكنك القيام بذلك باستخدام هذا الأمر: ```console git config --global core.editor nano ``` -After that install and configure [Git Credential Manager](https://github.com/git-ecosystem/git-credential-manager/blob/release/docs/install.md#macos) with command: +بعد ذلك قم بتثبيت وتكوين [Git Credential Manager](https://github.com/git-ecosystem/git-credential-manager/blob/release/docs/install.md#macos) باستخدام الأمر: ```console brew install --cask git-credential-manager ``` -Now continue with the rest of setup at [General Settings in Git install]({{ lesson_url('git-en/install') }}). +الآن تابع بقية الإعداد في [الإعدادات العامة في تثبيت Git]({{ lesson_url('git-en/install') }}). \ No newline at end of file diff --git a/lessons/git-en/install/windows.md b/lessons/git-en/install/windows.md index 74a6fd349e..03d2e477f2 100644 --- a/lessons/git-en/install/windows.md +++ b/lessons/git-en/install/windows.md @@ -1,27 +1,27 @@ -## Windows installation of git +## تثبيت Git على Windows -Go to [git-scm.org](https://git-scm.com/download/win), download **Git Standalone Installer 64-bit Git for Windows Setup** and install it. -When installing, go through the wizard and select these options: +انتقل إلى [git-scm.org](https://git-scm.com/download/win) ، وقم بتنزيل **Git Standalone Installer 64-bit Git for Windows Setup** وقم بتثبيته. +عند التثبيت ، باستخدام المثبت (wizard) اختر الخيارات التالية: * Run Git from the Windows Command Prompt * Checkout Windows-style, commit Unix-style line endings -Do not change any other options, they can be left as default. -Please ensure that **Git Credential Manager Core** option is ["checked"](https://github.com/git-ecosystem/git-credential-manager/blob/release/docs/install.md#git-for-windows-star), to install the extra tool by default with Git installation. +لا تقم بتغيير أي خيارات أخرى ، يمكن تركها كما هي. +يرجى التأكد من أن خيار **Git Credential Manager Core** ["تم تحديده"](https://github.com/git-ecosystem/git-credential-manager/blob/release/docs/install.md#git-for-windows-star) ، لتثبيت الأداة الإضافية افتراضيًا مع تثبيت Git. {{ figure( img=static('windows-git-cred-manager.png'), alt='Git installation credential manager allow', ) }} -Then set your Git editor. -If you have a terminal window open, close it, and open a new one. -(The installation changes system settings which have to be loaded again.) +ثم قم بإعداد محرر(editor) Git الخاص بك. +إذا كان لديك نافذة محطة (terminal) مفتوحة ، فقم بإغلاقها وافتح نافذة جديدة. +(يؤدي التثبيت إلى تغيير إعدادات النظام التي يجب تحميلها مرة أخرى.) -In the new command line, enter: +في ال(terminal) الجديد ، أدخل: ```console -> git config --global core.editor notepad +> git config --globaﻻشسهؤسl core.editor notepad > git config --global format.commitMessageColumns 80 > git config --global gui.encoding utf-8 ``` -Now continue with the rest of setup at [General Settings in Git install]({{ lesson_url('git-en/install') }}). +الآن تابع بقية الإعدادات في [الإعدادات العامة في تثبيت Git]({{ lesson_url('git-en/install') }}). \ No newline at end of file diff --git a/runs/2024/pyladies-en-vienna-2024-spring/info.yml b/runs/2024/pyladies-en-vienna-2024-spring/info.yml index b68ed9c0a4..78e3194f4f 100644 --- a/runs/2024/pyladies-en-vienna-2024-spring/info.yml +++ b/runs/2024/pyladies-en-vienna-2024-spring/info.yml @@ -133,25 +133,25 @@ plan: - title: تمارين(Practice exercises) url: https://docs.google.com/document/d/1uQt886tRZh2KtMSvtsLIlqEORasykap65d_8LxrBTBU/edit type: cheatsheet -# - title: GIT -# slug: git -# date: 2024-04-23 -# materials: -# - lesson: git-en/install -# - lesson: git-en/basics -# - lesson: git-en/github -# - lesson: git-en/branching -# - title: Basic Git Cheatsheet -# url: https://raw.githubusercontent.com/lubojr/naucse.python.cz/117a205e1c98f007e0a97877e87493fef411a768/lessons/git-en/basics/static/git_commands_cheat_sheet.png -# type: cheatsheet -# - title: Extensive Git cheatsheet -# url: https://about.gitlab.com/images/press/git-cheat-sheet.pdf -# type: cheatsheet -# - title: Have you just made a git mess? -# url: https://raw.githubusercontent.com/lubojr/naucse.python.cz/6307e5867765be0dd1a1e551901e4b4aca150d6c/lessons/git-en/basics/static/git-pretty.png -# type: cheatsheet -# - lesson: beginners-en/tictactoe -# type: homework + - title: GIT + slug: git + date: 2025-02-09 + materials: + - lesson: git-en/install + # - lesson: git-en/basics + # - lesson: git-en/github + # - lesson: git-en/branching + # - title: Basic Git Cheatsheet + # url: https://raw.githubusercontent.com/lubojr/naucse.python.cz/117a205e1c98f007e0a97877e87493fef411a768/lessons/git-en/basics/static/git_commands_cheat_sheet.png + # type: cheatsheet + # - title: Extensive Git cheatsheet + # url: https://about.gitlab.com/images/press/git-cheat-sheet.pdf + # type: cheatsheet + # - title: Have you just made a git mess? + # url: https://raw.githubusercontent.com/lubojr/naucse.python.cz/6307e5867765be0dd1a1e551901e4b4aca150d6c/lessons/git-en/basics/static/git-pretty.png + # type: cheatsheet + # - lesson: beginners-en/tictactoe + # type: homework # - title: Lists, Tuples # slug: list