$ git clone -n https://gitee.com/zzrun66/cockpit /var/lib/mock/dist-oc9-webui-build-67847-46601/root/chroot_tmpdir/scmroot/cockpit Cloning into '/var/lib/mock/dist-oc9-webui-build-67847-46601/root/chroot_tmpdir/scmroot/cockpit'... $ git fetch origin oc9-webui:KOJI_FETCH_HEAD From https://gitee.com/zzrun66/cockpit * [new branch] oc9-webui -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 2a7942b update to 311.1