I want to delete all previous commits from my master branch and leave only latest commit. What series of commands shall I execute locally and then push into origin to make this happen?
Asked
Active
Viewed 135 times
0
-
Do you want to keep other branches? – Keldorn Apr 11 '19 at 01:35
-
No. All I want master branch with current commit – Gregory Suvalian Apr 11 '19 at 01:38