$ git clone -n https://src.fedoraproject.org/rpms/ghc-servant-server.git /var/lib/mock/f38-build-side-42-init-devel-1380153-30706/root/chroot_tmpdir/scmroot/ghc-servant-server Cloning into '/var/lib/mock/f38-build-side-42-init-devel-1380153-30706/root/chroot_tmpdir/scmroot/ghc-servant-server'... $ git fetch origin 3c5f5d7c09e10b6856136f2f4794c9d7ab6b0908:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/ghc-servant-server * [new ref] 3c5f5d7c09e10b6856136f2f4794c9d7ab6b0908 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 3c5f5d7 Convert to %autorelease and %autochangelog