$ git clone -n https://src.fedoraproject.org/rpms/cwdaemon.git /var/lib/mock/f40-build-796497-140694/root/chroot_tmpdir/scmroot/cwdaemon Cloning into '/var/lib/mock/f40-build-796497-140694/root/chroot_tmpdir/scmroot/cwdaemon'... $ git fetch origin 9bc4ca164caea44760f4fc552a6bd4aded8a38b0:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/cwdaemon * [new ref] 9bc4ca164caea44760f4fc552a6bd4aded8a38b0 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 9bc4ca1 Convert to %autorelease and %autochangelog