I start with Mercurial. I am reading a Mercury book , but there is still a question.
I started my project a month ago, and I have a lot of files and directories in it. Now I want to use Mercurial and make an account in a bitbucket. Now I want to install this project in Bitbucket. How can I add all these files to the bitbucket repository?
This is what I thought I could do: I could try (1) to clone an empty repo (from the bitpack) (1) copy all the files to this directory, (3) give out "hg add" and after that (4) commit .
Perhaps you have a better way to do this.
Thank!
(1)
hg clone https://ME@bitbucket.org/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)
source