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