Manage Git Pull Requests

Tasks

  1. SSH into the storage server as user max using the given credentials.

  2. Locate the already cloned Git repository in Max's home directory.

  3. Confirm the repository contains Sarah’s story and commit history using git log.

  4. Verify Max's story is pushed to the story/fox-and-grapes branch.

  5. Open the Gitea UI from the top bar of the lab environment.

  6. Log in to Gitea as user max.

  7. Create a Pull Request:

    • Title: Added fox-and-grapes story

    • Source branch: story/fox-and-grapes

    • Destination branch: master

  8. Assign tom as a reviewer to the PR through the Gitea UI.

  9. Log out of Gitea.

  10. Log in to Gitea as user tom.

  11. Review and approve the Pull Request.

  12. Merge the PR into the master branch.

  13. Take screenshots (or a screen recording) as evidence of each key action.

Steps

1

SSH max Login with password Max_pass123

ssh max@ststor01
2

Navigate to the cloned repo

cd story-blog
3

Confirm Sarah's and Max’s commits exist

git log
4

Verify story/fox-and-grapes exists

git branch -a
5

Open Gitea UI and Login as max / Max_pass123

6

Create PR in story-blog repo:

  • Title: Added fox-and-grapes story

  • From branch: story/fox-and-grapes

  • To branch: master

7

In PR page → Click Reviewers → Add tom

8

Logout from Max's Gitea account. Login as tom / Tom_pass123

9

Open the PR → Review → Approve → Merge

10

The pull request has been merged as 6764b4acf8.

Last updated