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