E
E
Evgenij_nechujveter2017-03-10 21:21:44
git
Evgenij_nechujveter, 2017-03-10 21:21:44

How to delete commit history on github server?

I have a branch with a bunch of commits, how can I roll back to the very first one? To make them disappear from the history on the github server?
f9b026f3ade8452ca2a8149fd18f77ed.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
evnuh, 2017-03-10
@Evgenij_nechujveter

git push -f

X
xutesayor, 2017-03-10
@xutesayor

git reset --hard

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question