$ git clone -n https://gitee.com/ocs-upgrade/netplan.git /var/lib/mock/dist-ocs23-build-283026-27252/root/chroot_tmpdir/scmroot/netplan Cloning into '/var/lib/mock/dist-ocs23-build-283026-27252/root/chroot_tmpdir/scmroot/netplan'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/ocs-upgrade/netplan * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 8786c0b Upgrade to version 1.1