$ git clone -n https://gitee.com/src-anolis-os/lldpad.git /var/lib/mock/dist-an23.3-build-423405-72928/root/chroot_tmpdir/scmroot/lldpad Cloning into '/var/lib/mock/dist-an23.3-build-423405-72928/root/chroot_tmpdir/scmroot/lldpad'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/lldpad * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 84c5bc9 Update to 1.1.1 from 1.1