$ git clone -n https://gitee.com/lizhao2025/rest.git /var/lib/mock/dist-an23-build-500815-74764/root/chroot_tmpdir/scmroot/rest Cloning into '/var/lib/mock/dist-an23-build-500815-74764/root/chroot_tmpdir/scmroot/rest'... $ git fetch origin ced7a2737dffc59c9ba33699d623c2f6217fdd68:KOJI_FETCH_HEAD From https://gitee.com/lizhao2025/rest * [new ref] ced7a2737dffc59c9ba33699d623c2f6217fdd68 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at ced7a27 Update code from upstream