git merge conflict due to renaming in two branches - how to fix & avoid in future?

前端 未结 2 960
心在旅途
心在旅途 2021-02-13 13:22

I have two local branches master and dev. Both branches contained three folders:

projectBeta
project
project_v1

I wan

2条回答
  •  日久生厌
    2021-02-13 14:02

    try this

    git pull
    

    go to folder to delete project and project_v1, rename projectBeta to project.

    git add --all
    git commit 
    git push
    

    and you do the same for other branch

提交回复
热议问题