Clear command works with different repositories