18 pontos por xguru 2020-11-11 | Ainda não há comentários. | Compartilhar no WhatsApp

Correção automática de erros de digitação $ git config --global help.autocorrect 1

Contar commits $ git rev-list --count

Otimização do repositório $ git gc --prune=now --aggressive

Fazer backup de arquivos não rastreados $ git ls-files --others --exclude-standard -z | xargs -0 tar rvf ~/backup-untracked.zip

Ver um arquivo de outra branch $ git show main:README.md

Pesquisar no Git $ git rev-list --all | xargs git grep -F ‘’

Entendendo a pasta .git

$ cat .git/HEAD

$ cat .git/description

Ainda não há comentários.

Ainda não há comentários.