Skip to content

Instantly share code, notes, and snippets.

Replace text in files
sed -i 's/old-word/new-word/g' *.txt
List files modified in specific commit (g67h89)
git diff-tree --no-commit-id --name-only -r g67h89
List files modified between two commit
git diff --name-only -r 992e585662b 3754e20cce4
Import a sql table from csv file