$ git clone -n https://gitee.com/happy_orange/xerces-c.git /var/lib/mock/dist-an23-build-341083-69863/root/chroot_tmpdir/scmroot/xerces-c Cloning into '/var/lib/mock/dist-an23-build-341083-69863/root/chroot_tmpdir/scmroot/xerces-c'... $ git fetch origin 12e60dbb1b900a6f047c91c4b7f35e07ce77e088:KOJI_FETCH_HEAD From https://gitee.com/happy_orange/xerces-c * [new ref] 12e60dbb1b900a6f047c91c4b7f35e07ce77e088 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 12e60db update to 3.2.5