A man who has been charged in connection with a violent carjacking last Sunday, in which a woman was struck on the head before she was driven away by her attacker, told gardaĂ after his arrest: "I'm sorry, I didn't mean to do it", a court has heard.