$ git clone -n https://src.fedoraproject.org/rpms/ghc-mockery.git /var/lib/mock/f38-build-689441-82534/root/chroot_tmpdir/scmroot/ghc-mockery Cloning into '/var/lib/mock/f38-build-689441-82534/root/chroot_tmpdir/scmroot/ghc-mockery'... $ git reset --hard c5736bf32ed10d25a873485c822416fda4e8c58b HEAD is now at c5736bf Convert to %autorelease and %autochangelog