How to add mercurial ignore .hgignore

0 votes
added Nov 17, 2017 in Mercurial by LC Marshal Captain (25,790 points)
  1. Open your code editor

  2. Add the following lines to ignore path . e.g ignore node_modules/

    • path:node_modules

  3. Save it as .hgignore

  4. Commit and push! - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.