$ git clone -n https://src.fedoraproject.org/rpms/unicorn.git /var/lib/mock/f33-build-630032-67618/root/chroot_tmpdir/scmroot/unicorn Cloning into '/var/lib/mock/f33-build-630032-67618/root/chroot_tmpdir/scmroot/unicorn'... $ git reset --hard c76e41f7947628a2972a5cf7afbca52754c1fa5d HEAD is now at c76e41f Revert source name, as I had made use of wrong source tarball