$ git clone -n https://src.fedoraproject.org/rpms/ghc-xml-hamlet.git /var/lib/mock/f38-build-721259-98501/root/chroot_tmpdir/scmroot/ghc-xml-hamlet Cloning into '/var/lib/mock/f38-build-721259-98501/root/chroot_tmpdir/scmroot/ghc-xml-hamlet'... $ git reset --hard b58490c676967021c79215d80377fc660c6d2914 HEAD is now at b58490c Convert to %autorelease and %autochangelog