Как удалить ветку Git как локально, так и удаленно?



Я хочу удалить ветку как локально, так и на моем удаленном проекте fork on GitHub.



неудачные попытки удалить удаленную ветку



$ git branch -d remotes/origin/bugfix
error: branch 'remotes/origin/bugfix' not found.

$ git branch -d origin/bugfix
error: branch 'origin/bugfix' not found.

$ git branch -rd origin/bugfix
Deleted remote branch origin/bugfix (was 2a14ef7).

$ git push
Everything up-to-date

$ git pull
From github.com:gituser/gitproject
* [new branch] bugfix -> origin/bugfix
Already up-to-date.


что мне нужно сделать по-другому, чтобы успешно удалить
remotes/origin/bugfix филиал как локально, так и на GitHub?

1079   0  

Comments

    Ничего не найдено.