$ git clone -n https://gitee.com/ocs-upgrade/tk.git /var/lib/mock/dist-ocs23-build-212561-15360/root/chroot_tmpdir/scmroot/tk Cloning into '/var/lib/mock/dist-ocs23-build-212561-15360/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