Reputation: 587
I have a remote on GitHub with an old version of my site that's no longer in use. I've since made significant changes to the local copy and want to merge these changes in. Is there a way that I can do this and keep the history that's already in the remote repo.
Is it simply a matter of copying the old .git directory to the new project and doing a git push --force
to replace the remote version with my local changes? I would like to keep the same remote repo (and its history) if at all possible.
Upvotes: 0
Views: 1942