$ git clone -n https://src.fedoraproject.org/rpms/ghc-tasty-rerun.git /var/lib/mock/f38-build-side-42-init-devel-1010662-29395/root/chroot_tmpdir/scmroot/ghc-tasty-rerun Cloning into '/var/lib/mock/f38-build-side-42-init-devel-1010662-29395/root/chroot_tmpdir/scmroot/ghc-tasty-rerun'... $ git fetch origin 186e9cfa64d4e9fbf482aac1f85bf73feee45ace:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/ghc-tasty-rerun * [new ref] 186e9cfa64d4e9fbf482aac1f85bf73feee45ace -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 186e9cf Convert to %autorelease and %autochangelog