$ git clone -n https://src.fedoraproject.org/rpms/kate.git /var/lib/mock/f37-build-669180-74906/root/chroot_tmpdir/scmroot/kate Cloning into '/var/lib/mock/f37-build-669180-74906/root/chroot_tmpdir/scmroot/kate'... $ git reset --hard 6c96a416443a7b9b3e320943e45d220d7d02370c HEAD is now at 6c96a41 fix: use version variable instead of hardcoded value in files section