npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

git-alias-flow

v2.4.3

Published

Automatic Git aliases installer for productivity. Install 27+ productivity Git aliases with a single command.

Readme

git-alias-flow

npm version npm downloads License: MIT Node.js Version

Instalador automático de aliases Git para aumentar sua produtividade no terminal. Instale 27+ aliases Git produtivos com um único comando.

🚀 Início Rápido

npm install -g git-alias-flow
gaf

Pronto! Todos os aliases estão instalados e prontos para uso.

✨ Funcionalidades

  • Instalação com um comando - Instale 27+ aliases Git instantaneamente
  • Multiplataforma - Funciona no Mac, Windows e Linux
  • Zero configuração - Sem necessidade de configuração, apenas instale e execute
  • Personalizável - Fácil de editar aliases para corresponder ao seu fluxo de trabalho
  • Focado em produtividade - Aliases curtos e memoráveis para operações Git diárias
  • Ajuda integrada - Use gaf h para ver todos os aliases disponíveis

📦 Instalação

npm install -g git-alias-flow

🎯 Uso

Após a instalação, execute:

gaf

O comando irá instalar automaticamente todos os aliases Git configurados no arquivo aliases/aliases.yml usando git config --global.

Ver Ajuda

Para ver todos os aliases instalados:

gaf h

Ou use o alias Git diretamente:

git h

💡 Por Que Usar?

Cansado de digitar comandos Git longos? git-alias-flow fornece um conjunto curado de aliases de produtividade que:

  • Economizam tempo - Digite git st em vez de git status
  • Reduzem erros de digitação - Aliases curtos são mais fáceis de lembrar e digitar
  • Aumentam a produtividade - Foque em codificar, não em digitar comandos
  • Padronizam o fluxo de trabalho - Aliases consistentes em todas as suas máquinas

📋 Aliases Incluídos

Status

  • st - git status
  • ss - git status -s

Pull/Push

  • pl - git pull
  • ps - git push
  • up - git fetch && git rebase
  • pl-bc - git pull origin (branch atual)
  • ps-bc - git push origin (branch atual)
  • pnp - git pull origin (branch atual) && git push origin (branch atual)

Commit

  • c - git commit -v
  • ca - git commit -v -a
  • cm - git commit -m "mensagem"

Checkout

  • ck - git checkout
  • ckm - git checkout master

Branch

  • bc - git branch
  • bca - git branch -a
  • bcm - git branch -m (renomear branch)

Log

  • lg - git log --stat --max-count=5
  • lgg - git log --graph --max-count=5
  • count - git shortlog -sn

Add/Merge

  • a - git add
  • ad - git add .
  • m - git merge

Reset

  • rh - git reset HEAD
  • rhh - git reset HEAD --hard

Cherry-pick

  • cp - git cherry-pick

Diff

  • dv - git diff -w

Ajuda

  • h - lista todos os aliases instalados

📖 Exemplos de Uso

# Status
git st              # git status
git ss              # git status -s

# Commits
git cm "fix: bug"   # git commit -m "fix: bug"
git ca              # git commit -v -a

# Branches
git ck main         # git checkout main
git bc              # git branch
git bcm antigo novo # git branch -m antigo novo

# Adicionar arquivos
git ad              # git add .
git a arquivo.js    # git add arquivo.js

# Pull/Push
git pl-bc           # git pull origin (branch atual)
git ps-bc           # git push origin (branch atual)
git pnp             # pull + push (branch atual)

# Ajuda
gaf h               # mostra ajuda com todos os aliases

🔧 Como Editar os Aliases

Os aliases estão definidos no arquivo aliases/aliases.yml no formato:

alias: comando

Para comandos simples, use apenas o comando:

st: status

Para comandos compostos ou que precisam de shell, use ! seguido do comando completo entre aspas:

up: "!git fetch && git rebase"

Após editar o arquivo, você pode reinstalar os aliases executando gaf novamente.

Encontrando o arquivo aliases.yml

Se você instalou globalmente via npm, o arquivo está localizado em:

# macOS/Linux
/usr/local/lib/node_modules/git-alias-flow/aliases/aliases.yml

# Ou encontre com:
npm list -g git-alias-flow

🗑️ Desinstalação

Para remover um alias específico:

git config --global --unset alias.<nome-do-alias>

Para listar todos os aliases instalados:

git config --global --get-regexp alias

Para desinstalar o pacote:

npm uninstall -g git-alias-flow

🤝 Contribuindo

Contribuições são bem-vindas! Sinta-se à vontade para:

  • Reportar bugs
  • Sugerir novos aliases
  • Melhorar a documentação
  • Enviar pull requests

📝 Licença

MIT

🔗 Links

🌍 Outros Idiomas


Feito com ❤️ para desenvolvedores que amam produtividade