Skip to content

Instantly share code, notes, and snippets.

View mawkler's full-sized avatar
💭
On parental leave, not as active

Melker Ulander mawkler

💭
On parental leave, not as active
View GitHub Profile
@tobiasbueschel
tobiasbueschel / gd-and-gds.md
Last active October 10, 2024 13:30
Alias: ignore package-lock.json and yarn.lock in git diff

Don't want to see package-lock.json and yarn.lock in your git diff? Here are two nifty aliases that hide these files from your diff.

alias gd="git diff -- :!package-lock.json :!yarn.lock"
alias gds="git diff --staged -- :!package-lock.json :!yarn.lock"