diff --git a/content/posts/2022/git-remove-remote-branch.md b/content/posts/2022/git-remove-remote-branch.md new file mode 100644 index 0000000..78166a7 --- /dev/null +++ b/content/posts/2022/git-remove-remote-branch.md @@ -0,0 +1,23 @@ +--- +title: "Git: Удалить ветку на сервере" +date: 2022-09-16T03:48:34+03:00 +draft: false +tags: [git, tips] +--- + +Для удаления определённой ветки на сервере Git, необходимо выполнить команду: + +```sh +git push --delete +``` + +Например: + +```text +git push origin --delete gh-pages + +remote: . Processing 1 references +remote: Processed 1 references in total +To git.a2s.su:iiiypuk/minecraft-launcher.git + - [deleted] gh-pages +```