$ git clone -n https://gitee.com/src-anolis-nde/nde-build-tools.git /var/lib/mock/dist-an8.9-nde-build-351836-70918/root/chroot_tmpdir/scmroot/nde-build-tools Cloning into '/var/lib/mock/dist-an8.9-nde-build-351836-70918/root/chroot_tmpdir/scmroot/nde-build-tools'... $ git fetch origin a8:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-nde/nde-build-tools * [new branch] a8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at ef1ca74 create branch