3 ms·
> All the commits you had in the repo before the rebase are still in the repo. In your local repo yes, for next 30 days. Then git will garbage collect them. Bu
by sampo 7y ago
> All the commits you had in the repo before the rebase are still in the repo.
In your local repo yes, for next 30 days. Then git will garbage collect them. But when you force push new pointers to GitHub, the GitHub repo will lose access to the unreferenced commits right away.
But of course those 30 days will give you plenty of time to go back, if you changed your mind about the rebase.