我以Mercurial开始。我正在阅读mercurial book,但仍然有问题。如果项目中已有文件,在mercurial中启动项目的最佳方式是什么?
我已经开始我的项目一个月前,我有很多文件和目录。现在,我想使用Mercurial并使自己成为bitbucket中的帐户。现在,我想在Bitbucket中设置这个项目。我如何将所有这些文件添加到bitbucket回购?我可以尝试(1)克隆空回购(从bitbucket)(1)将所有文件复制到该目录中,(3)发出“hg add”和之后(4)提交。
也许你有更好的方法来做到这一点。
谢谢!
(1)
hg clone https://[email protected]/ME/myproject
(2)
cp existing-project/* myproject/
cd myproject
(3)
hg add
(4)
hg commit -u ME
(5)
hg push (i think i have to do this to make the changes visible)
谢谢Wooble。看起来很简单! – santiagobasulto 2011-06-09 12:55:40