$ git clone -n https://gitee.com/src-anolis-os/sane-backends.git /var/lib/mock/dist-an8.9-build-342123-69888/root/chroot_tmpdir/scmroot/sane-backends Cloning into '/var/lib/mock/dist-an8.9-build-342123-69888/root/chroot_tmpdir/scmroot/sane-backends'... $ git fetch origin a8:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/sane-backends * [new branch] a8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at ccec8f0 change the way to create user