Relative Content

Tag Archive for gitgit-rewrite-history

Remove original git history for specific remote repository, but keeping it else

For my current project my project partner requires to sync my code not only with my git-server based on gitlab, but also with his git-server (unknown base). However, I don’t want to expose all history details from former commits and name-changes to my project partner (as they’re irrelevant). I know that I can delete the entire git-history, but I’d prefer if I could keep the entire history on my server, while only exposing all future commits to the server of my project partner (and mine, as both servers will stay in sync).