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

11 lines
485 B
Markdown
Raw Normal View History

---
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`
_إنها بهذه السهولة!_