I just started my first Mercurial project.
I did a 'cd' into my source directory.
Then I did this:
hg init myproject
But next I did
hg commit -m "first commit"
And all it reports is:
nothing changed
But when I do
hg status
It lists all of the source code in my project.
What am I doing wrong here?
I think the output of the hg status
command is probably telling you that you have a lot of files in your working directory that are not being tracked by Mercurial. You should be able to fix this by running the command
hg addremove
Then you can make your first commit:
hg commit -m "first commit"
Alternatively, you can do this all in one command with
hg commit -A -m "first commit"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With