Skip to main content

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

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

Updated 1 min readMarkdown
Part of seriesGit: Aprende o aprende
🚀 Git push a 2 (dos) repositorios al mismo tiempo! (+SYNC)

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!

About the author

  • 🤓 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

No comments yet. Be the first to comment.

Git: Aprende o aprende

Part 2 of 4

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

Up next🗑 Git: Como eliminar un repositorio remotoCon un solo comando!