$ git clone -n https://src.fedoraproject.org/rpms/createrepo_c.git /var/lib/mock/f31-build-46781-26684/root/thebuilddir/tmp/scmroot/createrepo_c Cloning into '/var/lib/mock/f31-build-46781-26684/root/thebuilddir/tmp/scmroot/createrepo_c'... $ git reset --hard 855f6ca1a0d01908cb9d4eef56246a05a827d0fa HEAD is now at 855f6ca Update to 0.14.2