$ git clone -n https://src.fedoraproject.org/rpms/ghc-HStringTemplate.git /var/lib/mock/f38-build-690062-82632/root/chroot_tmpdir/scmroot/ghc-HStringTemplate Cloning into '/var/lib/mock/f38-build-690062-82632/root/chroot_tmpdir/scmroot/ghc-HStringTemplate'... $ git reset --hard 0960cd407520d51f2fc2f0a1fbc7b0b294ee323c HEAD is now at 0960cd4 Convert to %autorelease and %autochangelog