$ git clone -n https://gitee.com/src-anolis-nde/leveldb.git /var/lib/mock/dist-an8.9-nde-build-351826-70918/root/chroot_tmpdir/scmroot/leveldb Cloning into '/var/lib/mock/dist-an8.9-nde-build-351826-70918/root/chroot_tmpdir/scmroot/leveldb'... $ git fetch origin a8:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-nde/leveldb * [new branch] a8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at e71d07c create branch