$ git clone -n https://src.fedoraproject.org/rpms/less.git /var/lib/mock/f38-build-723598-99135/root/chroot_tmpdir/scmroot/less Cloning into '/var/lib/mock/f38-build-723598-99135/root/chroot_tmpdir/scmroot/less'... $ git reset --hard c5733106535c56bb665467d28ec140b86a26fe68 HEAD is now at c573310 Update to new upstream release