Combining multiple git repositories

后端 未结 13 1250
眼角桃花
眼角桃花 2020-11-22 15:34

Let\'s say I\'ve got a setup that look something like

phd/code/
phd/figures/
phd/thesis/

For historical reasons, these all have their own g

13条回答
  •  情话喂你
    2020-11-22 16:17

    The sequence you suggested

    git init
    git add *
    git commit -a -m "import everything"
    

    will work, but you will lose your commit history.

提交回复
热议问题