I want to keep the local commit history as a teaching lesson for myself but remove them from the remote repository because of its embarrassing nature and glaring mistakes.
I know removing all but current commit on both ends can be done , but was wondering if its possible to keep the local history intact and have the remote repository's commit start from the current commit and then track the local commits as usual.