windows - how to delete commit entries in github? -


trying delete commit entries in remote github repo. how can keep last 5 commits , delete others? tried this:

how remove selected commit log entries git repository while keeping changes?

after 'git log' on local machine looks got result after 'git push origin' checked github , older commits still there?

edit: tried :

git rebase -i head~5 

the editor comes , close it. when 'git log' did not reduce number of commits 5?

you have force-push:

git push -f origin 

Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -