$ git clone -n https://gitee.com/Weisson/php_1769997654.git /var/lib/mock/dist-an23.4-build-510563-75047/root/chroot_tmpdir/scmroot/php_1769997654 Cloning into '/var/lib/mock/dist-an23.4-build-510563-75047/root/chroot_tmpdir/scmroot/php_1769997654'... $ git fetch origin c69f7cf261dbf5a4b4db3c835e14fea46af14c99:KOJI_FETCH_HEAD From https://gitee.com/Weisson/php_1769997654 * [new ref] c69f7cf261dbf5a4b4db3c835e14fea46af14c99 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c69f7cf Update code from upstream