Receber por email
← Voltar para o catálogo

git

Basic git operations for repository inspection. Use for git diff, git log, git status, git remote, and other read-only git commands.

367estrelas
Atualizado há 4 meses

Ver no GitHub ↗

Como adicionar

/plugin marketplace add aiskillstore/marketplace

O comando exato pode variar conforme o repositório. Confira o README no GitHub.

Para o autor da skill

Cole no README do seu repo

Mostra que sua skill está catalogada na Skillteca, gera backlink e tráfego rastreável.

[![Skillteca](https://www.skillteca.com.br/api/badge/git-mpt06q95/svg)](https://www.skillteca.com.br/skills/git-mpt06q95)

Skills relacionadas

Ver todas de Segurança →

Alerta por categoria

Receba novas skills de Segurança toda segunda

1 email curto, só com as skills novas de Segurança. 4 minutos de leitura, sem spam, cancela com 1 clique.

Você confirma o email no primeiro envio. Sem spam. Cancela com 1 clique.

Ler descrição completa

Git CLI

Purpose

This skill provides access to basic git commands for inspecting repository state. Use this for read-only operations like viewing diffs, logs, and status.

Command Reference

Repository State

| Action | Command | |--------|---------| | Status | git status | | Remote URLs | git remote -v | | Current branch | git branch --show-current | | All branches | git branch -a |

Viewing Changes

| Action | Command | |--------|---------| | Unstaged changes | git diff | | Staged changes | git diff --cached | | All changes | git diff HEAD | | Changes vs branch | git diff <branch>...HEAD | | Changed files only | git diff --name-only | | Stat summary | git diff --stat |

History

| Action | Command | |--------|---------| | Recent commits | git log --oneline -n 10 | | Branch commits | git log main..HEAD --oneline | | Commit details | git log -1 --format=full | | File history | git log --oneline -- <file> | | Blame | git blame <file> |

Inspection

| Action | Command | |--------|---------| | Show commit | git show <commit> | | Show file at commit | git show <commit>:<file> | | List tracked files | git ls-files |

Behavioral Guidelines

  1. Read-only: This skill is for inspection only, not for making changes
  2. Prefer short output: Use --oneline, --stat, or -n flags to limit output
  3. Branch detection: Use git branch --show-current to identify the current branch
  4. Platform detection: Use git remote -v to determine if GitHub or GitLab, then use the appropriate skill
Compartilhar X LinkedIn