w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Forgot to use `--squash` and now the commit history is a mess. How can I clean up this mess?
  1. Use git reflog to find your project's state from before you did the broken operation.
  2. Check out that hash or git reset --hard to it.
  3. Redo the operation with the correct flags.

© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.