How to delete a branch with Nodered Projects

Hi,

I'm starting using Projects and I can't find how to delete a local branch, do you know how ?
I merged and deleted it on my Bitbucket repo but I would like it to be deleted also locally.

Thank you

Hi @Charlotte

the node-red UI doesn't provide a way to delete a branch - you'll have to fall back to the command-line.

You will find your project under ~/.node-red/projects/<name-of-project>

In that directory you can run git branch -d <name-of-branch>

If it complains about the branch not being fully merged (ie, it contains commits that are not in the main branch), and if you are really sure you want to delete the branch, you can use -D instead of -d.

Thanks a lot !

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.