- Abre la TerminalTerminalGit Bash.
- Enumera el repositorio remoto configurado actualmente para tu bifurcación.
$ git remote -v > origin https://github.com/YOUR_USERNAME/YOUR_FORK.git (fetch) > origin https://github.com/YOUR_USERNAME/YOUR_FORK.git (push) - Especifica un nuevo repositorio ascendente remoto que se sincronizará con la bifurcación.
$ git remote add upstream https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git - Verifica el nuevo repositorio ascendente que especificaste para tu bifurcación.
$ git remote -v > origin https://github.com/YOUR_USERNAME/YOUR_FORK.git (fetch) > origin https://github.com/YOUR_USERNAME/YOUR_FORK.git (push) > upstream https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git (fetch) > upstream https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git (push)
Versión del artículo: Free, Pro, and Team
Versión del artículo: Free, Pro, and Team
Configurar un remoto para una bifurcación
Debes configurar un remoto que apunte al repositorio ascendente en Git para sincronizar los cambios que realizas en una bifurcación con el repositorio original. Esto también te permite sincronizar los cambios en el repositorio original con la bifurcación.
Help us make these docs great!
All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request.
Make a contribution