$ git clone -n https://src.fedoraproject.org/rpms/abc.git /var/lib/mock/f33-build-131583-41052/root/chroot_tmpdir/scmroot/abc Cloning into '/var/lib/mock/f33-build-131583-41052/root/chroot_tmpdir/scmroot/abc'... $ git reset --hard eb86ff73c166dd9d09f4e8888f4da31ecd1ca7bb HEAD is now at eb86ff7 Update changelog again to match the spec file version.