Can you share a file and it's history between two git repositories?

后端 未结 2 1067
挽巷
挽巷 2021-01-20 23:23

I\'m not sure if this is possible but I\'d like to be able to have a single file and use it in two projects saved in git repostories. Such that, if I make a change in one projec

2条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-21 00:09

    git submodule command can give you part of the functionality but it requires additional steps to keep the file in sync.

提交回复
热议问题