This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# delete local tag '12345' | |
git tag -d 12345 | |
# delete remote tag '12345' (eg, GitHub version too) | |
git push origin :refs/tags/12345 | |
# alternative approach | |
git push --delete origin tagName | |
git tag -d tagName |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# caminhar até o diretório para que a cópia não saia com o caminho completo | |
# (a cópia tera o caminho a partir do diretório atual do terminal) | |
cd /a/b/c/dir | |
# Copia os arquivos que foram modificados nos últimos X (30) dias | |
# (e seu caminho, a partir do diretorio atual do terminal) | |
find . -mtime -30 -exec cp --parents \{\} /x/y/z/novo-dir/ \; | |
# Verificar arquivos diferentes em uma árvore de diretórios | |
diff --brief -Nr dir1/ dir2/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
img:hover { | |
-webkit-filter: grayscale(0%); | |
-webkit-transition: .5s ease-in-out; | |
-moz-filter: grayscale(0%); | |
-moz-transition: .5s ease-in-out; | |
-o-filter: grayscale(0%); | |
-o-transition: .5s ease-in-out; | |
} | |
img { |