Tool Hub

Cola CLI

Cola de consulta para comandos comuns git/docker/kubectl/curl/find

34 commands

git
Show last 10 commits as one-line summaries
git log --oneline -10
git
Compact summary of changed files
git diff --stat
git
Save uncommitted changes with a label
git stash push -m 'wip'
git
Create and switch to new branch
git checkout -b feature/foo
git
Force-push safely (fails if remote moved)
git push origin HEAD --force-with-lease
git
Interactive rebase last 5 commits
git rebase -i HEAD~5
git
Visual branch graph
git log --all --graph --oneline
git
Show all HEAD movements (recovery from accidents)
git reflog
git
Who changed lines 10-20 in file.ts
git blame file.ts -L 10,20
git
Binary search for the commit that introduced a bug
git bisect start && git bisect bad && git bisect good <sha>
docker
List all containers in tabular format
docker ps -a --format 'table {{.ID}}\t{{.Image}}\t{{.Status}}'
docker
Open a shell inside a running container
docker exec -it <container> sh
docker
Follow container logs (tail -f)
docker logs -f <container>
docker
Remove all unused images, containers, networks, and volumes
docker system prune -a --volumes
docker
Rebuild images and start services in detached mode
docker compose up -d --build
docker
One-shot container resource usage
docker stats --no-stream
docker
Container state with jq
docker inspect <container> | jq '.[].State'
kubectl
Watch pod status in a namespace
kubectl get pods -n <namespace> -w
kubectl
Follow logs from a specific container
kubectl logs -f <pod> -c <container>
kubectl
Open a shell in a pod
kubectl exec -it <pod> -- /bin/sh
kubectl
Detailed pod info (events, conditions)
kubectl describe pod <pod>
kubectl
Preview changes without applying
kubectl apply -f manifest.yaml --dry-run=client -o yaml
kubectl
Watch deployment rollout
kubectl rollout status deployment/<name>
kubectl
Rollback to previous deployment
kubectl rollout undo deployment/<name>
curl
GET with response headers shown
curl -i https://api.example.com
curl
POST JSON body
curl -X POST -H 'Content-Type: application/json' -d '{"k":"v"}' https://api.example.com
curl
Follow redirects, save to file
curl -L https://x.com -o output.html
curl
Measure total time, discard body
curl -w '\ntime_total: %{time_total}s\n' -o /dev/null -s https://x.com
curl
HTTP basic auth
curl -u user:pass https://x.com
find
All .ts files excluding node_modules
find . -name '*.ts' -not -path '*/node_modules/*'
find
Files larger than 100 MB
find . -size +100M -type f
find
Files modified in the last 7 days
find . -mtime -7 -type f
find
Delete all .log files (be careful!)
find . -name '*.log' -delete
find
All .py files containing 'TODO'
find . -type f -name '*.py' -exec grep -l 'TODO' {} +

Como usar

  1. Digite uma palavra-chave no campo de pesquisa para filtrar comandos por descrição ou nome de flag.
  2. Use as abas da ferramenta (All, git, docker, kubectl, curl, find) para restringir resultados a uma CLI específica.
  3. Navegue pelas linhas de comando correspondentes, cada uma mostrando o distintivo da ferramenta, uma descrição em inglês simples e o comando exato.
  4. Clique no botão de cópia em qualquer linha para copiar o comando diretamente para sua área de transferência.

Exemplos

  • Digitar "rebase" com o filtro git ativo exibe comandos como git rebase --onto e git rebase -i HEAD~3.
  • Digitar "prune" mostra docker system prune -af e git remote prune origin lado a lado quando All é selecionado.

Verifique as saídas antes de usar em produção. Sem garantia — veja Termos.