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