Skip to content

Git Pull Requests and Merging

Category Git & GitHub
Status โœ… Completed
Repo nextwork-git-pull-requests-and-merging
Original NextWork guide nextwork.ai
Proof Official NextWork write-up: web ยท PDF

Learning project

Practice work following a NextWork guide, separate from my production projects.

๐Ÿ“š NextWork learning project. This is a practice project I built while working through NextWork's Git Pull Requests and Merging guide. It is part of my Learning portfolio and is fully separate from my production projects.

Category: Learning โ€บ Git & GitHub
Status: โœ… Completed

Proof: Official NextWork write-up: web ยท PDF

Overview

I followed a team-style GitHub workflow on this repository: plan the work in an Issue, build it on a feature branch, open a PR that says Closes #N, and merge it. The first PR used a merge commit and the second was squashed. Check the Issues and Pull requests tabs.

Summary

Two real Issues and two real Pull Requests on this repo, one merged with a merge commit and one squash-merged. Each PR closes its Issue.

The checks behind this are in docs/verification.txt.

Skills & tools

GitHub Issues, Pull Requests, Merge strategies, gh CLI, PR templates

What I built

  • index.md: the page the two features were added to.
  • Issue โ†’ feature/features-section โ†’ PR merged with a merge commit.
  • Issue โ†’ feature/contact-section (3 commits) โ†’ PR squash-merged into one commit.
  • Secret mission: .github/pull_request_template.md.

How to run

Run bash post-publish.sh with REPO=<owner>/<repo> and an authenticated gh to replay the workflow on your own repo.

Verification

I ran the verification command on 2026-12-02. The full output is in docs/verification.txt.

test -f index.md && echo 'index.md present; the PR workflow runs after the repo exists (see docs/post-publish.txt)'

Notes

docs/post-publish.txt lists the Issues and PRs that were created and merged.


Original project: https://nextwork.ai/projects/3ac00a14-cbfc-476a-9a2f-2d9b678880b9 ยท Part of my NextWork Learning portfolio (hub).

Verification output

From docs/verification.txt:

$ test -f index.md && echo 'index.md present; the PR workflow runs after the repo exists (see docs/post-publish.txt)'

index.md present; the PR workflow runs after the repo exists (see docs/post-publish.txt)

[exit code 0]