$ git clone -n https://src.fedoraproject.org/rpms/kf5-kcompletion.git /var/lib/mock/f33-build-525106-64619/root/chroot_tmpdir/scmroot/kf5-kcompletion Cloning into '/var/lib/mock/f33-build-525106-64619/root/chroot_tmpdir/scmroot/kf5-kcompletion'... $ git reset --hard 63528ad5119bc589eb9a0d256878b3ebc76c9765 HEAD is now at 63528ad use %%autosetup