Environment: TeamCity Professional 2019.2.2 (build 71923) with git VCS roots.
At least on a couple of git repos, we wish to rewrite git history because some large files crept in. Are there any recommendations to follow ?
Specifically, if the tips of some active branches get a new commit, is there a way to make TeamCity record that it built a different commit the last build it ran ?
For the sake of an example VCS Root, before git history rewrite:
master - abcd123
feature/foo-bar - mnop456
something-else - ijkl789
All 3 branches built by TeamCity (successfully or not). Now after history rewrite, the tips looks like:
master - dj489de
feature/foo-bar - e48d3js
something-else - djk43ye
We don't want TeamCity to attempt to find changes right from the ancestor until which it had build history. We'd just want to reset the VCSRoot such that it records last built commits on those branches as newer ones.
What steps should we follow ?