@property
    def active_branch(self):
        branch = self.git.symbolic_ref('HEAD').strip()
        if branch.startswith('refs/heads/'):
            branch = branch[len('refs/heads/'):]

        return branch
Flush all metrics up to the given timestamp.
dataset/ETHPy150Open kergoth/git-origin/git-python/lib/git/repo.py/Repo.active_branch--crossover with--dataset/ETHPy150Open serverdensity/sd-agent/aggregator.py/Metric.flush