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