0

我是 git 新手,在推送期间我在远程分支名称中犯了一个拼写错误。

git push remote/branch_with_typo_mistake.

然后在远程服务器上创建了一个新分支。

我怎样才能从服务器中完全删除这个新的不需要的分支?

4

1 回答 1

4

使用git push remote :branch_with_typo_mistake.
注意分支名称前的冒号。

于 2013-02-04T12:23:49.363 回答