$ git clone -n https://gitee.com/ocs-bot/libuninameslist.git /var/lib/mock/dist-ocs23-build-116281-8035/root/chroot_tmpdir/scmroot/libuninameslist Cloning into '/var/lib/mock/dist-ocs23-build-116281-8035/root/chroot_tmpdir/scmroot/libuninameslist'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/ocs-bot/libuninameslist * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 7ccc039 upgrade to 20221022