$ git clone -n https://gitee.com/ocs-upgrade/ongres-scram.git /var/lib/mock/dist-ocs23-build-284354-27513/root/chroot_tmpdir/scmroot/ongres-scram Cloning into '/var/lib/mock/dist-ocs23-build-284354-27513/root/chroot_tmpdir/scmroot/ongres-scram'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/ocs-upgrade/ongres-scram * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f31584f Upgrade to version 3.1