$ git clone -n https://gitee.com/src-anolis-nde/nde-powermanagement.git /var/lib/mock/dist-an23.4-nde-build-506682-74884/root/chroot_tmpdir/scmroot/nde-powermanagement Cloning into '/var/lib/mock/dist-an23.4-nde-build-506682-74884/root/chroot_tmpdir/scmroot/nde-powermanagement'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-nde/nde-powermanagement * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at aa6d46c Fix build error