$ git clone -n https://gitee.com/wenyuzifang/php.git /var/lib/mock/dist-an23-build-444888-73188/root/chroot_tmpdir/scmroot/php Cloning into '/var/lib/mock/dist-an23-build-444888-73188/root/chroot_tmpdir/scmroot/php'... $ git fetch origin c4d9c23874ef88783911420503e670c189c070fd:KOJI_FETCH_HEAD From https://gitee.com/wenyuzifang/php * [new ref] c4d9c23874ef88783911420503e670c189c070fd -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c4d9c23 Update code from upstream