$ git clone -n https://gitee.com/src-opencloudos-rpms/maven-file-management.git /var/lib/mock/dist-oc9-build-50550-14595/root/chroot_tmpdir/scmroot/maven-file-management Cloning into '/var/lib/mock/dist-oc9-build-50550-14595/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 77ceb5c import maven-file-management-3.0.0-5.tl4