$ git clone -n https://gitee.com/src-opencloudos-rpms/kabi-dw.git /var/lib/mock/dist-oc9-build-70203-47404/root/chroot_tmpdir/scmroot/kabi-dw Cloning into '/var/lib/mock/dist-oc9-build-70203-47404/root/chroot_tmpdir/scmroot/kabi-dw'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/kabi-dw * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 9c5f9ee import kabi-dw-0-5.20190729gitbd56a60.tl4