$ git clone -n https://gitee.com/src-opencloudos-rpms/setup.git /var/lib/mock/dist-oc8-build-82116-57020/root/chroot_tmpdir/scmroot/setup Cloning into '/var/lib/mock/dist-oc8-build-82116-57020/root/chroot_tmpdir/scmroot/setup'... $ git fetch origin 485490b7cfa638abb8a9e656d9346bfc3329a213:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/setup * [new ref] 485490b7cfa638abb8a9e656d9346bfc3329a213 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 485490b import setup-2.12.2-10.tl3