$ git clone -n https://gitee.com/src-anolis-os/seal.git /var/lib/mock/dist-an23.3-build-429129-73027/root/chroot_tmpdir/scmroot/seal Cloning into '/var/lib/mock/dist-an23.3-build-429129-73027/root/chroot_tmpdir/scmroot/seal'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/seal * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 8f46fac !4 fix the head file path Merge pull request !4 from happy_orange/a23