Skip to content

Instantly share code, notes, and snippets.

Abort: outstanding uncommitted changes
$ hg update --clean -r tip
2 files updated, 0 files merged, 0 files removed, 0 files unresolved
$ hg merge
0 files updated, 0 files merged, 1 files removed, 0 files unresolved
(branch merge, don't forget to commit)
$ hg commit -m "cleaned and merged"
@nerdalert
nerdalert / Netfilter-IPTables-Diagrams.md
Last active December 4, 2025 18:31
Linux NetFilter, IP Tables and Conntrack Diagrams

Linux NetFilter, IP Tables and Conntrack Diagrams

IPTABLES TABLES and CHAINS

IPTables has the following 4 built-in tables.

1) Filter Table

Filter is default table for iptables. So, if you don’t define you own table, you’ll be using filter table. Iptables’s filter table has the following built-in chains.