$ git clone -n https://gitee.com/src-opencloudos-rpms/gts.git /var/lib/mock/dist-oc9-build-46385-14592/root/chroot_tmpdir/scmroot/gts Cloning into '/var/lib/mock/dist-oc9-build-46385-14592/root/chroot_tmpdir/scmroot/gts'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/gts * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 570d654 import gts-0.7.6-3.20121130.tl4