Copy file and its entire history

后端 未结 6 1470
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-03 06:40

Myself and another developer are developing an API accessed by other code. As we change the behaviours of the API to better suit our needs, we release additional versions of

6条回答
  •  爱一瞬间的悲伤
    2021-01-03 06:58

    Check out git subtree (also here). With that you must be able to split off part of the history with that one file. You can duplicate it too, if bot else using interactive rebase. Then you can merge it back, and have the duplicate.

提交回复
热议问题