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