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