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