---
title: "الحصول على اسم فرع git الحالي"
description: "الحصول على اسم فرع git الحالي"
canonical: https://oozou.com/til/get-current-git-branch-name-43
locale: ar
date: 2020-10-13
topic: shell
---

# الحصول على اسم فرع git الحالي

> الحصول على اسم فرع git الحالي

Published: 2020-10-13 · Topic: [shell](https://oozou.com/ar/til-topics/shell) ([markdown](https://oozou.com/ar/til-topics/shell.md))

```shell
git rev-parse --abbrev-ref HEAD
```

---

Contact OOZOU: hello@oozou.com · +66 2544 0000 · https://oozou.com/ar/contact

More for AI agents: https://oozou.com/llms.txt · every page has a markdown twin at its URL plus ".md"
