How to delete Git Branches In Launchpad ??

Asked by Sameer Sharma

Hey there can anybody give me some insight on deleting git branches within launchapad ?? i can do this locally but those branches continue to exist in launchpad, isnt there a easy launchpad based mechanism to delete branch completely that's locally and within launchpad itself ??

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Solved by:
Sameer Sharma
Solved:
Last query:
Last reply:
Revision history for this message
Clinton Fung (clinton-fung) said :
#1

You can delete remote branches with `git push - d <branch name>`.

Revision history for this message
Sameer Sharma (sameersharma2006) said :
#2
Revision history for this message
Sameer Sharma (sameersharma2006) said :
#3

Well the correct answer for anyone who else may be seeking is -->

1) Clone the main/default branch of the repo/project.
2) use cd to move in the directory.
3) In terminal: git push -d git+ssh://<user-id>@git.launchpad.net/<project-name/repo-name> <branch-name>