- git fetch && git checkout master
- # You want to pull master to your branch
- git checkout branch1 (from master)
- git merge master (or git pull origin master)
- CONFLICT (content): Merge conflict in site/test.py
- --- say some conflicts & u want to move to master / branch2
- git checkout master
- ----> error: you need to resolve your current index first
- git branch ## branch1
- git reset --merge
- git checkout master # will work
No comments:
Post a Comment