$ git clone -n https://gitee.com/src-anolis-os/leveldb.git /var/lib/mock/dist-an23-build-273310-64184/root/chroot_tmpdir/scmroot/leveldb Cloning into '/var/lib/mock/dist-an23-build-273310-64184/root/chroot_tmpdir/scmroot/leveldb'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/leveldb * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 68826cf Init from upstream