$ git clone -n https://src.fedoraproject.org/rpms/htmltest.git /var/lib/mock/f33-build-337361-58401/root/chroot_tmpdir/scmroot/htmltest Cloning into '/var/lib/mock/f33-build-337361-58401/root/chroot_tmpdir/scmroot/htmltest'... $ git reset --hard 72cb08d0856f3da04fb33d303173f3dc04395b9c HEAD is now at 72cb08d Update to latest version.