adding commit to shared