$ git clone -n https://gitee.com/src-opencloudos-rpms/liboauth.git /var/lib/mock/dist-oc9-build-42405-14591/root/chroot_tmpdir/scmroot/liboauth Cloning into '/var/lib/mock/dist-oc9-build-42405-14591/root/chroot_tmpdir/scmroot/liboauth'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/liboauth * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f0b4ab0 import liboauth-1.0.3-3.tl4