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