All posts by blogger323

How to make git-diff ignore specific lines

Recently I use git for versioning Cisco router/switch configurations. One problem here is the ‘ntp clock-period’ line. Cisco equipments have a clock adjustment value for NTP in their configuration and its value changes without any manual configuration changes. So even though I have made no changes in their configuration, git-diff shows lines like following. -ntp … Continue reading How to make git-diff ignore specific lines