$ git clone -n https://src.fedoraproject.org/rpms/libinsane.git /var/lib/mock/f33-build-512423-64514/root/chroot_tmpdir/scmroot/libinsane Cloning into '/var/lib/mock/f33-build-512423-64514/root/chroot_tmpdir/scmroot/libinsane'... $ git reset --hard 8ccf1691ffbfeae99d9541050b3f5fb2d9fc87e1 HEAD is now at 8ccf169 Update to latest version.