$ git clone -n https://src.fedoraproject.org/rpms/ghc-yesod-core.git /var/lib/mock/f38-build-720641-97817/root/chroot_tmpdir/scmroot/ghc-yesod-core Cloning into '/var/lib/mock/f38-build-720641-97817/root/chroot_tmpdir/scmroot/ghc-yesod-core'... $ git fetch origin 3c04dbbefde8465fea1afce98bde48651f14db11:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/ghc-yesod-core * [new ref] 3c04dbbefde8465fea1afce98bde48651f14db11 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 3c04dbb Convert to %autorelease and %autochangelog