$ git clone -n https://gitee.com/ocs-upgrade/gnupg2.git /var/lib/mock/dist-ocs23-build-193563-13026/root/chroot_tmpdir/scmroot/gnupg2 Cloning into '/var/lib/mock/dist-ocs23-build-193563-13026/root/chroot_tmpdir/scmroot/gnupg2'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/ocs-upgrade/gnupg2 * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 7c9162d Upgrade to version 2.4.5