git merge deleted files
PHP中文网
PHP中文网 2017-05-02 09:27:41
0
2
631

There is file A on master. The release of other branches adds file B to master. I deleted file A on the dev branch. Will A be merged every time the dev branch pulls changes to master? Then I will Wouldn’t it be necessary to delete file A again every time? If a lot of files are deleted during reconstruction, it will be very troublesome.

I executed git merge master under the dev branch

Please tell me, if I merge file A with the trunk for the first time, and then git rm A, if I merge with master again in the future, A will not be merged again?

PHP中文网
PHP中文网

认证0级讲师

reply all(2)
我想大声告诉你

No,
just use rebase if you are not worried, it definitely won’t

为情所困

No, unless someone modifies file A in another branch, then your merge will cause a merge conflict, requiring you to handle it manually.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template