culTest

    One of the 25 questions in this topic

    How much do you know about Git & GitHub: Branches and Collaboration?

    How do you delete a local branch that has already been merged?

    Answers

    git branch -d <name>Correct
    git delete <name>
    git rm branch <name>
    git clear <name>

    The -d flag deletes the branch safely.