When it comes to Mercurial;
What exactly is the difference between the following:
- Stop Tracking
- Ignore
Google Search, SE search brings no clear examples / results on the matter.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Generally speaking, as it isn’t clear in what context you came across those terms:
Ignore adds a file name pattern to the
.hgignorefile. It means any files matching the pattern will not be version controlled unless they have already been added (byhg addorhg addrem). So any files that are already part of the repository will not be affected by.hgignore.Stop Tracking (
hg removeorhg forget) means that Mercurial will not record any changes made to the file and the file will no longer be part of the repository. If the file is still present in the file system, it will show up as?(not tracked). This action takes effect with the next commit, not immediately.