XR retains the last 100 commits in its rollback history. You can view the rollback points with the command:
RP/0/0/CPU0:ios#show configuration rollback changes
and clear the rollback points with the command:
RP/0/0/CPU0:ios#clear configuration commits oldest
Is that what you are after ?
Thank You for responding, I actually am intrested to clear CLI history on my XR Router, I guess there is no any direct way to achieve that but can you please guide how can I achieve that...