<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Leonardo Rodrigues</title>
    <description>The latest articles on DEV Community by Leonardo Rodrigues (@leorodriguesdev).</description>
    <link>https://dev.to/leorodriguesdev</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F583192%2F310856d5-82f7-4a39-8981-abb0eafd0d65.jpeg</url>
      <title>DEV Community: Leonardo Rodrigues</title>
      <link>https://dev.to/leorodriguesdev</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/leorodriguesdev"/>
    <language>en</language>
    <item>
      <title>Pequenos atalhos Git que deixaram meu fluxo de trabalho muito mais rápido</title>
      <dc:creator>Leonardo Rodrigues</dc:creator>
      <pubDate>Mon, 01 Dec 2025 00:48:06 +0000</pubDate>
      <link>https://dev.to/leorodriguesdev/pequenos-atalhos-git-que-deixaram-meu-fluxo-de-trabalho-muito-mais-rapido-2556</link>
      <guid>https://dev.to/leorodriguesdev/pequenos-atalhos-git-que-deixaram-meu-fluxo-de-trabalho-muito-mais-rapido-2556</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;Uma pequena ferramenta que instala mais de 27 aliases Git com um único comando — economizando tempo, reduzindo fricção e mantendo seu foco no código.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  A realidade do trabalho diário
&lt;/h2&gt;

&lt;p&gt;Pensa no seu fluxo típico:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git status
git add &lt;span class="nb"&gt;.&lt;/span&gt;
git commit &lt;span class="nt"&gt;-m&lt;/span&gt; &lt;span class="s2"&gt;"fix: bug na autenticação"&lt;/span&gt;
git push origin main
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Agora multiplica isso por 20–30 vezes por dia.&lt;br&gt;
São &lt;em&gt;centenas&lt;/em&gt; de teclas desnecessárias — todos os dias.&lt;/p&gt;

&lt;p&gt;E esse é só um dos muitos fluxos repetitivos que fazemos automaticamente.&lt;/p&gt;


&lt;h2&gt;
  
  
  Uma solução simples: automatizar a dor
&lt;/h2&gt;

&lt;p&gt;Depois de ver um colega usando aliases no &lt;code&gt;.zshrc&lt;/code&gt;, eu quis algo:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;mais simples,&lt;/li&gt;
&lt;li&gt;mais limpo,&lt;/li&gt;
&lt;li&gt;multiplataforma,&lt;/li&gt;
&lt;li&gt;e que funcionasse em qualquer máquina sem esforço.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Então eu criei o &lt;strong&gt;git-alias-flow&lt;/strong&gt; — um pacote npm que instala mais de 27 aliases Git diretamente no Git.&lt;/p&gt;

&lt;p&gt;Nada de editar arquivos de configuração do sistema.&lt;br&gt;
Nada de setups manuais.&lt;br&gt;
Apenas um comando.&lt;/p&gt;
&lt;h3&gt;
  
  
  Instalação
&lt;/h3&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;-g&lt;/span&gt; git-alias-flow
gaf
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;Pronto. Todas os aliases instalados, funcionando em qualquer lugar.&lt;/p&gt;


&lt;h2&gt;
  
  
  Como isso mudou meu fluxo de trabalho
&lt;/h2&gt;

&lt;p&gt;Antes:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git status
git add &lt;span class="nb"&gt;.&lt;/span&gt;
git commit &lt;span class="nt"&gt;-m&lt;/span&gt; &lt;span class="s2"&gt;"feat: nova feature"&lt;/span&gt;
git push origin main
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Depois:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git st
git ad
git cm &lt;span class="s2"&gt;"feat: nova feature"&lt;/span&gt;
git ps-bc
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Mesma tarefa. Metade da digitação. Zero carga mental.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Como os aliases são instalados direto no Git, tudo funciona igual no Windows, macOS e Linux.&lt;/p&gt;




&lt;h2&gt;
  
  
  Aliases que realmente ajudam
&lt;/h2&gt;

&lt;p&gt;Aqui estão alguns dos que uso diariamente.&lt;/p&gt;

&lt;h3&gt;
  
  
  Status &amp;amp; navegação
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git st    &lt;span class="c"&gt;# git status&lt;/span&gt;
git ss    &lt;span class="c"&gt;# git status -s&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Commits rápidos
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git cm &lt;span class="s2"&gt;"mensagem"&lt;/span&gt;  &lt;span class="c"&gt;# git commit -m "mensagem"&lt;/span&gt;
git ca             &lt;span class="c"&gt;# git commit -v -a&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Branches
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git bc            &lt;span class="c"&gt;# git branch&lt;/span&gt;
git bcm old new   &lt;span class="c"&gt;# renomear branch&lt;/span&gt;
git ck main       &lt;span class="c"&gt;# checkout main&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Pull/push inteligente
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git pl-bc  &lt;span class="c"&gt;# pull da branch atual&lt;/span&gt;
git ps-bc  &lt;span class="c"&gt;# push da branch atual&lt;/span&gt;
git pnp    &lt;span class="c"&gt;# pull + push (meu favorito)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Em vez de:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git pull origin &lt;span class="si"&gt;$(&lt;/span&gt;git branch &lt;span class="nt"&gt;--show-current&lt;/span&gt;&lt;span class="si"&gt;)&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; git push origin &lt;span class="si"&gt;$(&lt;/span&gt;git branch &lt;span class="nt"&gt;--show-current&lt;/span&gt;&lt;span class="si"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Agora é simplesmente:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git pnp
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  Por que isso importa (se você gosta de terminal)
&lt;/h2&gt;

&lt;p&gt;Se você:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Prefere CLI ao invés de GUIs&lt;/li&gt;
&lt;li&gt;Trabalha em várias máquinas&lt;/li&gt;
&lt;li&gt;Preza por consistência&lt;/li&gt;
&lt;li&gt;Quer menos erros e mais velocidade&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Então aliases deixam de ser apenas atalhos.&lt;br&gt;
Eles viram parte do seu &lt;em&gt;reflexo natural&lt;/em&gt;.&lt;/p&gt;
&lt;h3&gt;
  
  
  Benefícios reais
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Velocidade:&lt;/strong&gt; menos digitação → mais código&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Consistência:&lt;/strong&gt; mesmos aliases em todos os ambientes&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Menos erros:&lt;/strong&gt; comandos curtos reduzem falhas&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Produtividade:&lt;/strong&gt; foco no que importa, não na sintaxe&lt;/li&gt;
&lt;/ol&gt;


&lt;h2&gt;
  
  
  Instalação e uso
&lt;/h2&gt;
&lt;h3&gt;
  
  
  Instalar
&lt;/h3&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;-g&lt;/span&gt; git-alias-flow
gaf
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h3&gt;
  
  
  Listar todos os aliases
&lt;/h3&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;gaf h
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;Ou diretamente:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git h
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Personalizar
&lt;/h3&gt;

&lt;p&gt;Os aliases vivem em um simples arquivo YAML:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="c1"&gt;# aliases/aliases.yml&lt;/span&gt;
&lt;span class="na"&gt;st&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;status&lt;/span&gt;
&lt;span class="na"&gt;ss&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;status -s&lt;/span&gt;
&lt;span class="na"&gt;pl&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;pull&lt;/span&gt;
&lt;span class="na"&gt;ps&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;push&lt;/span&gt;
&lt;span class="c1"&gt;# ... e mais 23 aliases&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Edite → rode &lt;code&gt;gaf&lt;/code&gt; novamente → pronto.&lt;/p&gt;




&lt;h2&gt;
  
  
  A jornada de criar isso
&lt;/h2&gt;

&lt;p&gt;Quando comecei a usar aliases, percebi:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Configurá-los manualmente era chato&lt;/li&gt;
&lt;li&gt;Manter tudo sincronizado entre máquinas era pior ainda&lt;/li&gt;
&lt;li&gt;Compartilhar com o time não era tão simples&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Então criei o &lt;code&gt;git-alias-flow&lt;/code&gt; para resolver meu próprio problema.&lt;br&gt;
Hoje, em qualquer máquina nova, eu só executo:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;gaf
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;…e tudo está configurado em segundos.&lt;/p&gt;




&lt;h2&gt;
  
  
  O que mudou pra mim
&lt;/h2&gt;

&lt;p&gt;Desde que passei a usar aliases consistentemente:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Digito ~40% menos comandos Git&lt;/li&gt;
&lt;li&gt;Cometo menos erros&lt;/li&gt;
&lt;li&gt;Meu fluxo ficou mais fluido&lt;/li&gt;
&lt;li&gt;E me mantenho mais focado no código&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Para quem isso é útil
&lt;/h2&gt;

&lt;p&gt;Este pacote ajuda:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Devs que amam o terminal&lt;/li&gt;
&lt;li&gt;Quem prefere CLI a ferramentas gráficas&lt;/li&gt;
&lt;li&gt;Times que querem padronização&lt;/li&gt;
&lt;li&gt;Qualquer pessoa que usa Git regularmente&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Por que escrevi este artigo
&lt;/h2&gt;

&lt;p&gt;Quis compartilhar essa pequena ferramenta caso ela ajude outras pessoas também.&lt;br&gt;
Use, melhore, sugira novos atalhos — contribuições são sempre bem-vindas.&lt;/p&gt;




&lt;h2&gt;
  
  
  Considerações finais
&lt;/h2&gt;

&lt;p&gt;Se você gosta de trabalhar via terminal, aliases Git podem reduzir muita fricção no seu dia a dia.&lt;br&gt;
O &lt;code&gt;git-alias-flow&lt;/code&gt; deixa tudo fácil: instale uma vez, use em qualquer lugar.&lt;/p&gt;

&lt;p&gt;Não é sobre preguiça.&lt;br&gt;
É sobre eficiência.&lt;br&gt;
É sobre focar no que realmente importa: &lt;strong&gt;escrever código&lt;/strong&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  Experimente agora
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;-g&lt;/span&gt; git-alias-flow
gaf
git st
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  ⭐ Apoie o projeto
&lt;/h2&gt;

&lt;p&gt;Se isso te ajudou, considere deixar uma &lt;strong&gt;estrela no GitHub&lt;/strong&gt; — isso faz bastante diferença!&lt;/p&gt;

&lt;p&gt;👉 &lt;a href="https://github.com/leorodriguesdev/git-alias-flow" rel="noopener noreferrer"&gt;https://github.com/leorodriguesdev/git-alias-flow&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Links úteis
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;npm:&lt;/strong&gt; &lt;a href="https://www.npmjs.com/package/git-alias-flow" rel="noopener noreferrer"&gt;https://www.npmjs.com/package/git-alias-flow&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;GitHub:&lt;/strong&gt; &lt;a href="https://github.com/leorodriguesdev/git-alias-flow" rel="noopener noreferrer"&gt;https://github.com/leorodriguesdev/git-alias-flow&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Documentação:&lt;/strong&gt; &lt;a href="https://github.com/leorodriguesdev/git-alias-flow#readme" rel="noopener noreferrer"&gt;https://github.com/leorodriguesdev/git-alias-flow#readme&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Open Source — contribuições são bem-vindas!&lt;/p&gt;




&lt;p&gt;&lt;code&gt;#git&lt;/code&gt; &lt;code&gt;#produtividade&lt;/code&gt; &lt;code&gt;#cli&lt;/code&gt; &lt;code&gt;#terminal&lt;/code&gt; &lt;code&gt;#developer-tools&lt;/code&gt; &lt;code&gt;#workflow&lt;/code&gt; &lt;code&gt;#nodejs&lt;/code&gt; &lt;code&gt;#opensource&lt;/code&gt;&lt;/p&gt;

</description>
      <category>git</category>
      <category>produtividade</category>
      <category>terminal</category>
      <category>opensource</category>
    </item>
    <item>
      <title>Small shortcuts that made my Git workflow easier</title>
      <dc:creator>Leonardo Rodrigues</dc:creator>
      <pubDate>Mon, 01 Dec 2025 00:44:36 +0000</pubDate>
      <link>https://dev.to/leorodriguesdev/small-shortcuts-that-made-my-git-workflow-easier-3bhe</link>
      <guid>https://dev.to/leorodriguesdev/small-shortcuts-that-made-my-git-workflow-easier-3bhe</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;A tiny tool that installs 27+ Git aliases with one command — saving time, reducing friction, and keeping your focus on coding.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  The reality of everyday work
&lt;/h2&gt;

&lt;p&gt;Think about your typical workflow:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git status
git add &lt;span class="nb"&gt;.&lt;/span&gt;
git commit &lt;span class="nt"&gt;-m&lt;/span&gt; &lt;span class="s2"&gt;"fix: bug in authentication"&lt;/span&gt;
git push origin main
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now multiply that by 20–30 times a day.&lt;br&gt;
That’s &lt;em&gt;hundreds&lt;/em&gt; of unnecessary keystrokes — every single day.&lt;/p&gt;

&lt;p&gt;And this is just one of many flows we repeat automatically.&lt;/p&gt;


&lt;h2&gt;
  
  
  A simple solution: automate the pain away
&lt;/h2&gt;

&lt;p&gt;After seeing a colleague using Git aliases inside &lt;code&gt;.zshrc&lt;/code&gt;, I wanted something easier, cleaner, and consistent across multiple machines.&lt;/p&gt;

&lt;p&gt;So I built &lt;strong&gt;git-alias-flow&lt;/strong&gt; — an npm package that installs 27+ useful Git aliases directly into Git itself.&lt;/p&gt;

&lt;p&gt;No OS-specific config files.&lt;br&gt;
No manual setup.&lt;br&gt;
Just one command.&lt;/p&gt;
&lt;h3&gt;
  
  
  Install
&lt;/h3&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;-g&lt;/span&gt; git-alias-flow
gaf
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;Done. All aliases installed, ready to use anywhere.&lt;/p&gt;


&lt;h2&gt;
  
  
  How it changed my workflow
&lt;/h2&gt;

&lt;p&gt;Before:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git status
git add &lt;span class="nb"&gt;.&lt;/span&gt;
git commit &lt;span class="nt"&gt;-m&lt;/span&gt; &lt;span class="s2"&gt;"feat: add new feature"&lt;/span&gt;
git push origin main
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;After:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git st
git ad
git cm &lt;span class="s2"&gt;"feat: add new feature"&lt;/span&gt;
git ps-bc
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Same tasks. Half the typing. Zero cognitive load.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Because aliases live inside Git itself, Windows/macOS/Linux behave exactly the same.&lt;/p&gt;




&lt;h2&gt;
  
  
  Aliases that really help
&lt;/h2&gt;

&lt;p&gt;Here are the ones I use daily.&lt;/p&gt;

&lt;h3&gt;
  
  
  Status &amp;amp; navigation
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git st    &lt;span class="c"&gt;# git status&lt;/span&gt;
git ss    &lt;span class="c"&gt;# git status -s&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Quick commits
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git cm &lt;span class="s2"&gt;"message"&lt;/span&gt;  &lt;span class="c"&gt;# git commit -m "message"&lt;/span&gt;
git ca            &lt;span class="c"&gt;# git commit -v -a&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Branches
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git bc            &lt;span class="c"&gt;# git branch&lt;/span&gt;
git bcm old new   &lt;span class="c"&gt;# rename branch&lt;/span&gt;
git ck main       &lt;span class="c"&gt;# checkout main&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Smart pull/push
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git pl-bc  &lt;span class="c"&gt;# pull current branch&lt;/span&gt;
git ps-bc  &lt;span class="c"&gt;# push current branch&lt;/span&gt;
git pnp    &lt;span class="c"&gt;# pull + push (my favorite)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Instead of:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git pull origin &lt;span class="si"&gt;$(&lt;/span&gt;git branch &lt;span class="nt"&gt;--show-current&lt;/span&gt;&lt;span class="si"&gt;)&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; git push origin &lt;span class="si"&gt;$(&lt;/span&gt;git branch &lt;span class="nt"&gt;--show-current&lt;/span&gt;&lt;span class="si"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now it's simply:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git pnp
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  Why this matters (if you love the terminal)
&lt;/h2&gt;

&lt;p&gt;If you:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Prefer CLI over GUI&lt;/li&gt;
&lt;li&gt;Jump between machines&lt;/li&gt;
&lt;li&gt;Care about consistency&lt;/li&gt;
&lt;li&gt;Want fewer typos and faster flow&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Then aliases stop being shortcuts.&lt;br&gt;
They become part of your &lt;em&gt;muscle memory&lt;/em&gt;.&lt;/p&gt;
&lt;h3&gt;
  
  
  Real benefits
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Speed:&lt;/strong&gt; less typing → more coding&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Consistency:&lt;/strong&gt; same aliases everywhere&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fewer mistakes:&lt;/strong&gt; shorter commands are harder to mess up&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Productivity:&lt;/strong&gt; focus on the code, not the commands&lt;/li&gt;
&lt;/ol&gt;


&lt;h2&gt;
  
  
  Installation and usage
&lt;/h2&gt;
&lt;h3&gt;
  
  
  Install
&lt;/h3&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;-g&lt;/span&gt; git-alias-flow
gaf
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h3&gt;
  
  
  List all aliases
&lt;/h3&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;gaf h
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;Or directly:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git h
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Customize
&lt;/h3&gt;

&lt;p&gt;Aliases live in a simple YAML file:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="c1"&gt;# aliases/aliases.yml&lt;/span&gt;
&lt;span class="na"&gt;st&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;status&lt;/span&gt;
&lt;span class="na"&gt;ss&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;status -s&lt;/span&gt;
&lt;span class="na"&gt;pl&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;pull&lt;/span&gt;
&lt;span class="na"&gt;ps&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;push&lt;/span&gt;
&lt;span class="c1"&gt;# ... and 23 more aliases&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Edit → run &lt;code&gt;gaf&lt;/code&gt; again → done.&lt;/p&gt;




&lt;h2&gt;
  
  
  The journey of creating it
&lt;/h2&gt;

&lt;p&gt;When I first started using aliases, I realized:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Setting them manually was tedious&lt;/li&gt;
&lt;li&gt;Syncing across machines was annoying&lt;/li&gt;
&lt;li&gt;Sharing with teammates wasn’t practical&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;So I built &lt;code&gt;git-alias-flow&lt;/code&gt; to solve my own problem.&lt;br&gt;
Now, on any machine, I run:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;gaf
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;…and everything is ready instantly.&lt;/p&gt;




&lt;h2&gt;
  
  
  What changed for me
&lt;/h2&gt;

&lt;p&gt;Since I started using aliases consistently:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;I type ~40% fewer Git commands&lt;/li&gt;
&lt;li&gt;I make fewer mistakes&lt;/li&gt;
&lt;li&gt;My workflow feels smoother&lt;/li&gt;
&lt;li&gt;I stay more focused on building — not typing&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Who this is for
&lt;/h2&gt;

&lt;p&gt;This package helps:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Developers who love the terminal&lt;/li&gt;
&lt;li&gt;Anyone who prefers CLI over GUI&lt;/li&gt;
&lt;li&gt;Teams who want consistent workflows&lt;/li&gt;
&lt;li&gt;Anyone who uses Git regularly&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Why I wrote this article
&lt;/h2&gt;

&lt;p&gt;If this tool saves even a few minutes of your day, or inspires you to create your own shortcuts, then it was worth writing.&lt;/p&gt;

&lt;p&gt;Contributions, ideas, or new alias suggestions are always welcome.&lt;/p&gt;




&lt;h2&gt;
  
  
  Final thoughts
&lt;/h2&gt;

&lt;p&gt;If you prefer working in the terminal, Git aliases can drastically reduce friction in your day-to-day work.&lt;br&gt;
&lt;code&gt;git-alias-flow&lt;/code&gt; makes the setup effortless — install once, use everywhere.&lt;/p&gt;

&lt;p&gt;It’s not about being lazy.&lt;br&gt;
It’s about being efficient and keeping your focus where it matters: &lt;strong&gt;writing code&lt;/strong&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  Try it now
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;-g&lt;/span&gt; git-alias-flow
gaf
git st
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  ⭐ Support the project
&lt;/h2&gt;

&lt;p&gt;If you found this useful, consider giving the repo a &lt;strong&gt;GitHub Star&lt;/strong&gt; — it helps a lot!&lt;/p&gt;

&lt;p&gt;👉 &lt;a href="https://github.com/leorodriguesdev/git-alias-flow" rel="noopener noreferrer"&gt;https://github.com/leorodriguesdev/git-alias-flow&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Useful links
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;npm:&lt;/strong&gt; &lt;a href="https://www.npmjs.com/package/git-alias-flow" rel="noopener noreferrer"&gt;https://www.npmjs.com/package/git-alias-flow&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;GitHub:&lt;/strong&gt; &lt;a href="https://github.com/leorodriguesdev/git-alias-flow" rel="noopener noreferrer"&gt;https://github.com/leorodriguesdev/git-alias-flow&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Documentation:&lt;/strong&gt; &lt;a href="https://github.com/leorodriguesdev/git-alias-flow#readme" rel="noopener noreferrer"&gt;https://github.com/leorodriguesdev/git-alias-flow#readme&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Open Source — contributions welcome!&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;Suggested tags:&lt;/strong&gt;&lt;br&gt;
&lt;code&gt;#git&lt;/code&gt; &lt;code&gt;#productivity&lt;/code&gt; &lt;code&gt;#cli&lt;/code&gt; &lt;code&gt;#terminal&lt;/code&gt; &lt;code&gt;#developer-tools&lt;/code&gt; &lt;code&gt;#workflow&lt;/code&gt; &lt;code&gt;#nodejs&lt;/code&gt; &lt;code&gt;#opensource&lt;/code&gt;&lt;/p&gt;

</description>
      <category>git</category>
      <category>productivity</category>
      <category>terminal</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
