{"tool":"hg","tool_display":"Hg","intent":"add-all-unstaged-files-matching-pattern","intent_display":"add all unstaged files matching pattern","title":"Hg Command: add all unstaged files matching pattern","command_string":"hg add -I <pattern>","raw_command_string":"hg add {{[-I|--include]}} {{pattern}}","description":"Exact CLI syntax to add all unstaged files matching pattern using Hg.","usage_scenario":"Selectively stage files for a commit based on specific patterns or types.","scenario_context":"Selectively stage files for a commit based on specific patterns or types.","simulated_output":"adding file1.txt\nadding file2.txt\nadding file3.log","how_to_steps":["Open your terminal and navigate to your repository.","Run the command: hg add -I 'pattern' to stage matching files.","Verify staged files with hg status."],"inferred_category":"Version Control","canonical_url":"https://www.syntaxstandard.com/hg/add-all-unstaged-files-matching-pattern"}