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)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay