$ git clone -n https://src.fedoraproject.org/rpms/os-autoinst.git /var/lib/mock/f31-build-92703-32375/root/chroot_tmpdir/scmroot/os-autoinst Cloning into '/var/lib/mock/f31-build-92703-32375/root/chroot_tmpdir/scmroot/os-autoinst'... $ git reset --hard 6e52754177dbf9eb45f608afe40402c9dca64074 HEAD is now at 6e52754 Update to latest git again