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