freeCodeCamp/guide/spanish/miscellaneous/push-a-new-local-branch-to-.../index.md

11 lines
408 B
Markdown

---
title: Push a New Local Branch to a Remote Git Repository and Track it Too
localeTitle: Empuje una nueva sucursal local a un repositorio de Git remoto y rastree también
---
1. Crear una nueva rama:
`git checkout -b feature_branch_name`
2. Edita, agrega y confirma tus archivos.
3. Empuje su rama al repositorio remoto:
`git push -u origin feature_branch_name`
_¡Es tan simple como eso!_