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

11 lines
589 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

---
title: Push a New Local Branch to a Remote Git Repository and Track it Too
localeTitle: Нажмите новую локальную ветвь в удаленный репозиторий Git и отследите ее слишком
---
1. Создайте новую ветку:
`git checkout -b feature_branch_name`
2. Редактируйте, добавьте и зафиксируйте свои файлы.
3. Нажмите свою ветку в удаленный репозиторий:
`git push -u origin feature_branch_name`
_Это так просто!_