Skip to content

Instantly share code, notes, and snippets.

@mvtenorio
mvtenorio / config_linux.md
Last active January 25, 2021 19:21
Configuração do meu ambiente Linux
mkdir ~/.npm-global
sudo npm config -g set prefix ~/.npm-global
@mvtenorio
mvtenorio / gist:a94e94710076101e8082
Last active October 27, 2015 16:24
Command to get all the modified files between two commits and copy them to another folder
git diff --name-only --diff-filter=AMRT sha1 sha2 | xargs tar cvf - | (cd ~/destination/; tar xfp -)