Skip to main content

Command Palette

Search for a command to run...

🚀 Git push a 2 (dos) repositorios al mismo tiempo! (+SYNC)

[Fácil] [Rápido] [2 comandos!]

Updated
1 min read
🚀 Git push a 2 (dos) repositorios al mismo tiempo! (+SYNC)
N

🤓 Passionate about technology and problem-solving, with experience in developing scalable solutions.

💪🏻 I love working in collaborative teams, contributing ideas, learning new things and contribute to projects that make a real difference!

🚀 I'm driven by innovation and continuously seek out new challenges that allow me to create impactful solutions

Hoy vamos a ver cómo pushear (git push) a 2 repositorios al mismo tiempo y manterlos sincronizados, es mucho más sencillo de lo que crees!

Ingredientes necesarios:

  • Un repositorio (ej: my-repo-original)😝
  • Otro repositorio (ej:my-second-repo) 😅

How to

Todo lo que tenemos que hacer es configurar nuestros repositorios remotos:

  1. git remote set-url --add --push origin git@github.com:nkrowicki/my-repo-original.git

  2. git remote set-url --add --push origin git@github.com:nkrowicki/my-repo-original.git

Eso es todo!

Ahora, cuando hagamos un git push nuestra branch será enviada a ambos repositorios al mismo tiempo!

Git: Aprende o aprende

Part 3 of 4

Aprende e incorpora conceptos de Git de una manera sencilla, sin complicaciones y con ejemplos de la vida real.

Up next

😲 Qué es git stash y como utilizarlo?

Git stash explicado como nunca antes