show commit id if not in HEAD