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