Home > AI > Git >

branch

delete a remote branch

git push -d {remote_name} {branch name}

delete a local branch

git branch -d {local branch name}

push local branch to a different remote branch

git push origin {local branch name}:{remote branch name}

Leave a Reply