$ git clone -n https://gitee.com/src-anolis-epao/coredns.git /var/lib/mock/dist-an8-epao-build-420733-72894/root/chroot_tmpdir/scmroot/coredns Cloning into '/var/lib/mock/dist-an8-epao-build-420733-72894/root/chroot_tmpdir/scmroot/coredns'... $ git fetch origin a8:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-epao/coredns * [new branch] a8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at e227d3d init package