$ git clone -n https://src.fedoraproject.org/rpms/ghc-http-api-data.git /var/lib/mock/f38-build-689360-82519/root/chroot_tmpdir/scmroot/ghc-http-api-data Cloning into '/var/lib/mock/f38-build-689360-82519/root/chroot_tmpdir/scmroot/ghc-http-api-data'... $ git reset --hard af0adcc87d16bcd80820a4c16f4921ad32c33ec0 HEAD is now at af0adcc Convert to %autorelease and %autochangelog