DEV Community

Gunabalan.S
Gunabalan.S

Posted on

1

GIT MERGE Quick Reference

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.

  1. Switch to Branch: example "Development"
git checkout development
Enter fullscreen mode Exit fullscreen mode
  1. Merge Feature Branch to Development:
git merge feature-branch
Enter fullscreen mode Exit fullscreen mode
  1. Delete Feature Branch (from Local):
git branch -d feature-branch
Enter fullscreen mode Exit fullscreen mode
  1. Delete Feature Branch (from Remote):
git push origin --delete feature-branch
Enter fullscreen mode Exit fullscreen mode

Top comments (0)

Qodo Takeover

Introducing Qodo Gen 1.0: Transform Your Workflow with Agentic AI

Rather than just generating snippets, our agents understand your entire project context, can make decisions, use tools, and carry out tasks autonomously.

Read full post

Best practices for optimal infrastructure performance with Magento

Running a Magento store? Struggling with performance bottlenecks? Join us and get actionable insights and real-world strategies to keep your store fast and reliable.

Tune in to the full event

DEV is partnering to bring live events to the community. Join us or dismiss this billboard if you're not interested. ❤️