$ git clone -n https://gitee.com/src-opencloudos-rpms/cloud-init.git /var/lib/mock/dist-oc8-build-81082-54590/root/chroot_tmpdir/scmroot/cloud-init Cloning into '/var/lib/mock/dist-oc8-build-81082-54590/root/chroot_tmpdir/scmroot/cloud-init'... $ git fetch origin 5f94dbd346fb020c48e855c0c4b64bc0ceb53c92:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/cloud-init * [new ref] 5f94dbd346fb020c48e855c0c4b64bc0ceb53c92 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 5f94dbd Add auto-patch changlog