$ git clone -n https://gitee.com/src-opencloudos-rpms/maven-file-management.git /var/lib/mock/dist-oc9-build-70759-47466/root/chroot_tmpdir/scmroot/maven-file-management Cloning into '/var/lib/mock/dist-oc9-build-70759-47466/root/chroot_tmpdir/scmroot/maven-file-management'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/maven-file-management * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 11edbd1 import maven-file-management-3.0.0-6.tl4