B
B
bpGusar2018-10-23 17:01:52
git
bpGusar, 2018-10-23 17:01:52

How to undo git rebase?

I did
git rebase dev ~ 6
and in the git client I started to display 6 files for uploading and uploading. I wanted to squash commits. what's wrong?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Stanislav Makarov, 2018-10-23
@Nipheris

git rebase --abort, if the rebase process has not yet been interrupted. And then the docks.

A
aol-nnov, 2018-10-23
@aol-nnov

git reflog, hereinafter
what is wrong with the original question - it was necessary to do an interactive rebase (-i) to merge commits

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question