$ git clone -n https://gitee.com/ocs-upgrade/ldapjdk.git /var/lib/mock/dist-ocs23-build-284671-27555/root/chroot_tmpdir/scmroot/ldapjdk Cloning into '/var/lib/mock/dist-ocs23-build-284671-27555/root/chroot_tmpdir/scmroot/ldapjdk'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/ocs-upgrade/ldapjdk * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 21456f1 Upgrade to version 5.5.0