DEV Community

Umesh
Umesh

Posted on

Git Branch and Git Merge

git branch
git checkout -b
git status
git add . or git add
git commit -m "type your message here"
git push --set-upstream origin
git push

-- when required
git config --local user.email ""
git config --local user.name ""

git checkout main
git merge
git pull
git push

git pull

Top comments (0)

Image of PulumiUP 2025

From Cloud to Platforms: What Top Engineers Are Doing Differently

Hear insights from industry leaders about the current state and future of cloud and IaC, platform engineering, and security.

Save Your Spot

👋 Kindness is contagious

DEV is better (more customized, reading settings like dark mode etc) when you're signed in!

Okay