$ git clone -n https://gitee.com/ocs-bot/libgcrypt.git /var/lib/mock/dist-ocs23-build-182808-12310/root/chroot_tmpdir/scmroot/libgcrypt Cloning into '/var/lib/mock/dist-ocs23-build-182808-12310/root/chroot_tmpdir/scmroot/libgcrypt'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/ocs-bot/libgcrypt * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at bcd153d Upgrade to version 1.10.3