D
D
Dasha2016-06-15 12:33:17
git
Dasha, 2016-06-15 12:33:17

Is it possible to delete a branch from a remote repository if I haven't done a merge?

I started working with a new project, made myself a separate branch, pushed changes there, but accidentally merged the changes in composer. How to clean it up right now? Delete branch and re-do? Or is there some less drastic way?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey, 2016-06-15
@bizzi

git push origin --delete branch

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question