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