From 1f0850b39f2be5645d81307f098df3a97968546e Mon Sep 17 00:00:00 2001 From: sharkanchik Date: Wed, 20 May 2026 18:43:12 +0200 Subject: [PATCH] Add changes and report for PR --- report_ex2.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 report_ex2.md diff --git a/report_ex2.md b/report_ex2.md new file mode 100644 index 00000000..005d37ca --- /dev/null +++ b/report_ex2.md @@ -0,0 +1,32 @@ +# Report: Forking and Pull Requests + +## 1. Original Repository +* **URL:** https://codeberg.org/dnkl/foot +* **Content:** Source code of `foot` — a fast and minimalist terminal emulator for Wayland, written in C. + +## 2. What is a Fork? +A fork is a personal copy of someone else's repository created under your own Codeberg account. It allows you to freely modify the code without affecting the original project. + +## 3. Remote Configuration +Difference between `origin` and `upstream`: +* `origin` — Points to your personal fork on Codeberg where you can push your changes. +* `upstream` — Points to the original author's repository where you can only fetch updates. + +## 4. Why sync a fork with upstream regularly? +To fetch the latest updates, bug fixes, and changes from the original author. This keeps your project up to date and prevents merge conflicts when you write your own code. + +## 6. Pull Request (PR) Details +* **Problem/Improvement:** Fixed minor formatting typos and added custom notes in the README.md file. +* **Source branch:** `Tanatos/foot` -> `feature-improve-docs` +* **Target branch:** `dnkl/foot` -> `master` + +## 7. What is Code Review? +Code review is a process where team members examine each other's code before merging it. It helps catch bugs early, share knowledge, and maintain high code quality. + +## 3. Remote Configuration +The output of `git remote -v` after adding the upstream: +```text +origin [https://codeberg.org/Tanatos/foot.git](https://codeberg.org/Tanatos/foot.git) (fetch) +origin [https://codeberg.org/Tanatos/foot.git](https://codeberg.org/Tanatos/foot.git) (push) +upstream [https://codeberg.org/dnkl/foot.git](https://codeberg.org/dnkl/foot.git) (fetch) +upstream [https://codeberg.org/dnkl/foot.git](https://codeberg.org/dnkl/foot.git) (push) \ No newline at end of file