-
-
Notifications
You must be signed in to change notification settings - Fork 77
Guide to Creating Feature Branches, Pull Requests, and Releases
Mai edited this page Feb 27, 2025
·
2 revisions
From the Command Line
- Ensure you are on
developand up-to-date
git checkout develop
git pull origin develop- Create and switch to a new feature branch
git checkout -b {issue-number}-{short-description}- Push the feature branch to the remote
git push origin {issue-number}-{short-description}From GitHub Website
- Navigate to the repository on GitHub.
- Click on the "Branches" dropdown and select "New branch".
- Name the branch following the naming convention to be created from
develop.
- Go to GitHub and navigate to the “Pull Requests” tab of the repository.
- Click "New Pull Request".
- Select
developas the base branch and your feature branch as the compare branch. - Use the provided PR template, add a title and description, then click "Create Pull Request".
- Once PR is approved, click "Merge Pull Request" and delete your feature branch.
From GitHub Website
- Navigate to the repository on GitHub.
- Click on "Releases" > "Draft a new release".
- Select
mainas the target branch. - Tag the release with a version number (e.g., v1.0.0).
- Add a title and a description summarizing the changes.
- Click "Publish Release".
More information on GitHub Releases here.