How to merge branches when you see "merge locally" in Git


How to merge branches when you see "merge locally" in Git

When branches have issues on GUI while merging:

Run following commands:
1. git checkout main_branch

2. git merge feature_branch

3. git rebase -- continue

If git rebase have issues:
git status

git fetch origin

git log main_branch -1

git rebase --abort

git rebase origin/main_branch

git add .

git rebase --continue

Comments

Popular posts from this blog

How to work with MySQL client package in MacBook

Issue with Pushing Code after Merging Changes from Multiple Branches