$ git clone -n https://src.fedoraproject.org/rpms/less.git /var/lib/mock/f40-build-747868-113484/root/chroot_tmpdir/scmroot/less Cloning into '/var/lib/mock/f40-build-747868-113484/root/chroot_tmpdir/scmroot/less'... $ git reset --hard 3fdb6d6ce7f8a98806faf9243e5d5bbcd885a5af HEAD is now at 3fdb6d6 Update to new upstream release