$ git clone -n https://gitee.com/mgb01105731/telegraf.git /var/lib/mock/dist-an23-build-292434-65101/root/chroot_tmpdir/scmroot/telegraf Cloning into '/var/lib/mock/dist-an23-build-292434-65101/root/chroot_tmpdir/scmroot/telegraf'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/telegraf * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f0cce9b init upstream from version 1.22.1