Dana · VS Code Guide
CS330  ·  Parallel Performance Evaluation in Linux
⬡  CS330-Parallel-Performance-Evaluation-in-Linux-Project
🌿
Your branch is Dana-Phase2. Always make sure you're on this branch before editing anything.
فرعك هو Dana-Phase2. تأكدي دائمًا إنك على هذا الفرع قبل ما تعدّلي أي شيء.
STEP 01 Accept the GitHub Invite اقبلي دعوة GitHub
  1. Go to github.com and sign in.
  2. Accept the collaborator invitation (check your email or GitHub notifications).
  3. Make sure you can see the repository in your account.
  1. روحي على github.com وسجّلي دخولك.
  2. اقبلي دعوة المتعاون (راجعي إيميلك أو إشعارات GitHub).
  3. تأكدي إنك تقدرين تشوفين الريبو في حسابك.
STEP 02 Clone the Repository استنسخي الريبو
  1. Open VS Code.
  2. Press Ctrl + Shift + P to open the command palette (the search bar at the top).
  3. Type: Git: Clone and press Enter.
  4. Paste this URL:
https://github.com/Shoug-Alomran/CS330-Parallel-Performance-Evaluation-in-Linux-Project.git
  1. Choose a folder to save it in (e.g. your Desktop).
  2. Click Open when VS Code asks you.
  1. افتحي VS Code.
  2. اضغطي Ctrl + Shift + P لتفتحي لوحة الأوامر.
  3. اكتبي: Git: Clone واضغطي Enter.
  4. الصقي هذا الرابط:
https://github.com/Shoug-Alomran/CS330-Parallel-Performance-Evaluation-in-Linux-Project.git
  1. اختاري فولدر تحفظينه فيه.
  2. اضغطي Open لما VS Code يسألك.
Screenshots: VS Code Welcome + Clone Git Repository button لقطات
Step 2 - VS Code Welcome Step 3 - Clone Git Repository
STEP 03 Install the GitHub Pull Requests Extension ثبتي إضافة GitHub Pull Requests
  1. In VS Code, click the Extensions icon (left sidebar).
  2. Search for: GitHub Pull Requests.
  3. Install the extension named GitHub Pull Requests (publisher: GitHub).
  4. If VS Code asks, click Sign in to GitHub and complete the browser login.
✅ This makes creating and managing pull requests much easier directly inside VS Code.
  1. في VS Code اضغطي أيقونة Extensions (في الشريط الجانبي).
  2. ابحثي عن: GitHub Pull Requests.
  3. ثبتي الإضافة باسم GitHub Pull Requests (الناشر: GitHub).
  4. إذا طلب منك VS Code، اضغطي Sign in to GitHub وكمّلي تسجيل الدخول من المتصفح.
✅ هذه الإضافة تسهّل عليك إنشاء Pull Request من داخل VS Code.
Screenshot: Install GitHub Pull Requests لقطة شاشة: تثبيت الإضافة
Step 8 - Install GitHub Pull Requests extension
STEP 04 Set Your Git Name & Email (one-time only) اضبطي اسمك وإيميلك في Git (مرة وحدة بس)

Open the terminal inside VS Code with Ctrl + ` (the backtick above Tab), then run:

git config --global user.name "Dana Altuwaijri"
git config --global user.email "YOUR_GITHUB_EMAIL_HERE"
⚠️ The email must exactly match the one in GitHub → Settings → Emails.

Now verify it worked:

git config --global user.name
git config --global user.email

If it prints your name and email correctly, you're all set. You won't need the terminal again after this.

افتحي الترمنال بـ Ctrl + ` (فوق زر Tab)، ثم شغّلي:

git config --global user.name "Dana Altuwaijri"
git config --global user.email "إيميلك_على_GitHub_هنا"
⚠️ الإيميل لازم يطابق اللي في GitHub ← Settings ← Emails بالضبط.

تحققي:

git config --global user.name
git config --global user.email

لو طبع اسمك وإيميلك صح، خلاص ما تحتاجين الترمنال مرة ثانية.

Screenshots: Terminal git config commands + verification لقطات
Step 5 - Terminal git config Step 6 - Verify git config
STEP 05 Switch to Your Branch انتقلي لفرعك
  1. Look at the bottom-left corner of VS Code. You will see a branch name.
  2. Click it to open the branch picker.
  3. Select Dana-Phase2.
If you don't see it, expand "Remote branches" and click origin/Dana-Phase2.

Confirm the bottom-left now shows Dana-Phase2

  1. شوفي الزاوية اليسرى السفلية في VS Code. راح تشوفين اسم فرع.
  2. اضغطيه لتفتحي قائمة الفروع.
  3. اختاري Dana-Phase2.
لو ما شفتيه، وسّعي "Remote branches" واضغطي origin/Dana-Phase2.

تأكدي إن الزاوية تقول Dana-Phase2

Screenshot: Branch picker لقطة شاشة: قائمة الفروع
Step 4 - Switch Branch
STEP 06 Make Your Changes اعدّلي ملفاتك

Edit your files as you normally would. Whenever you save a file, it will automatically appear in the Source Control panel on the left (the branch icon).

عدّلي ملفاتك بشكل طبيعي. لما تحفظين أي ملف، راح يظهر تلقائياً في لوحة Source Control على الشمال (أيقونة الفرع).

STEP 07 Commit & Push Your Changes احفظي وارفعي تغييراتك
  1. Click the Source Control icon in the left sidebar (branch icon).
  2. Write a short commit message. Example: "Update phase 2 analysis".
  3. Click Commit.
  4. Click Push or Sync Changes.
✅ Done! Your changes are now on GitHub in the Dana-Phase2 branch.
  1. اضغطي أيقونة Source Control في الشريط الجانبي.
  2. اكتبي رسالة قصيرة. مثال: "تحديث تحليل المرحلة 2".
  3. اضغطي Commit.
  4. اضغطي Push أو Sync Changes.
✅ خلاص! تغييراتك الحين على GitHub في فرع Dana-Phase2.
Screenshot: Source Control commit panel لقطة شاشة: لوحة Commit
Step 7 - Commit and Push
🔁 Before Every Work Session قبل كل جلسة شغل
  1. Check the bottom-left. It must say Dana-Phase2. If not, switch back to it.
  2. Open Source Control and click Pull to get the latest changes.
  3. Then start editing.
  1. راجعي الزاوية اليسرى السفلية. لازم تقول Dana-Phase2. لو لا، ارجعي له.
  2. افتحي Source Control واضغطي Pull لتنزّلي آخر التغييرات.
  3. وبعدين ابدأي التعديل.