$ git clone -n https://src.fedoraproject.org/rpms/ghc-hoauth2.git /var/lib/mock/f38-build-side-42-init-devel-1354690-30698/root/chroot_tmpdir/scmroot/ghc-hoauth2 Cloning into '/var/lib/mock/f38-build-side-42-init-devel-1354690-30698/root/chroot_tmpdir/scmroot/ghc-hoauth2'... $ git fetch origin 44d96a41280604052ab681931e308bf3ed4fcadf:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/ghc-hoauth2 * [new ref] 44d96a41280604052ab681931e308bf3ed4fcadf -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 44d96a4 Convert to %autorelease and %autochangelog