$ git clone -n https://src.fedoraproject.org/rpms/lizardfs.git /var/lib/mock/f33-build-308811-57221/root/chroot_tmpdir/scmroot/lizardfs Cloning into '/var/lib/mock/f33-build-308811-57221/root/chroot_tmpdir/scmroot/lizardfs'... $ git reset --hard 5b35a1c61f21282d0636e79c013fc638104e9a34 HEAD is now at 5b35a1c Don't forget to update the release and changelog