$ git clone -n https://src.fedoraproject.org/rpms/xmedcon.git /var/lib/mock/f31-build-60920-28798/root/thebuilddir/tmp/scmroot/xmedcon Cloning into '/var/lib/mock/f31-build-60920-28798/root/thebuilddir/tmp/scmroot/xmedcon'... $ git reset --hard 3778a86e43604c6646e90284d87450d82b0c739c HEAD is now at 3778a86 - Update to latest upstream release 0.16.1 fixes rhbz #1566287