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