$ git clone -n https://gitee.com/mgb01105731/influxdb.git /var/lib/mock/dist-an23-epao-build-302272-65985/root/chroot_tmpdir/scmroot/influxdb Cloning into '/var/lib/mock/dist-an23-epao-build-302272-65985/root/chroot_tmpdir/scmroot/influxdb'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/influxdb * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 0c7ca89 init upstream from version 1.8.10