delete git remote branch
This commit is contained in:
18
content/posts/2025/git/delete-remote-branch.md
Normal file
18
content/posts/2025/git/delete-remote-branch.md
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
---
|
||||||
|
title: "❌ Git: Удалить ветку на сервере"
|
||||||
|
date: 2025-10-23T01:15:44+03:00
|
||||||
|
draft: false
|
||||||
|
tags: [git, tips]
|
||||||
|
---
|
||||||
|
|
||||||
|
Шаблон команды:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
git push <remote_name> --delete <branch_name>
|
||||||
|
```
|
||||||
|
|
||||||
|
Например:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
git push origin --delete testBranch
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user