This sequence of commands allows you to merge changes from a feature branch (feature-branch
) into the development
branch and then delete the feature branch both locally and remotely.
- Switch to Branch: example "Development"
git checkout development
- Merge Feature Branch to Development:
git merge feature-branch
- Delete Feature Branch (from Local):
git branch -d feature-branch
- Delete Feature Branch (from Remote):
git push origin --delete feature-branch
Top comments (0)