Skip to content

Project showing a good example of merging a pull request using the GitHub Flow.

Notifications You must be signed in to change notification settings

TerminalProdigy/DMS.Demo.Git.Branching.GitHubFlow.MergePR.Good01

Repository files navigation

DMS.Demo.Git.Branching.GitHubFlow.MergePR.Good01

Steps taken to replicate:

  1. Create a new class library project.
  2. Add project to source control.
  3. Create feature branch named 'feature/foo' & checkout.
  4. Add a new class named 'Class2.cs'.
  5. Add a comment to 'Class2.cs' : '// Branch: feature/foo | Commit #1'.
  6. Commit changes: 'Branch: feature/foo | Commit #1'.
  7. Checkout 'master' branch.
  8. Add a comment to 'Class1.cs' : '// Branch: master | Commit #2'
  9. Commit changes: 'Branch: master | Commit #2'.
  10. Checkout branch 'feature/foo'.
  11. Add a comment to 'Class2.cs' : '// Branch: feature/foo | Commit #3'
  12. Commit changes: 'Branch: feature/foo | Commit #3'.
  13. Add a comment to 'Class2.cs' : '// Branch: feature/foo | Commit #4'
  14. Commit changes: 'Branch: feature/foo | Commit #4'.
  15. Create a PR branch from 'feature/foo' named 'pull/2/merge' & checkout.
  16. Push branches 'master' & 'pull/2/merge'.
  17. Create a new pull request. Merge Into: 'master' | From: 'pull/2/merge'
  18. Merge pull request.
  19. Checkout branch 'master'.
  20. Pull latest changes.
  21. Evaluate commit history/line.

image

About

Project showing a good example of merging a pull request using the GitHub Flow.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages