$ git clone -n https://gitee.com/mgb01105731/postgresql_1.git /var/lib/mock/dist-an23.2-build-427180-72985/root/chroot_tmpdir/scmroot/postgresql_1 Cloning into '/var/lib/mock/dist-an23.2-build-427180-72985/root/chroot_tmpdir/scmroot/postgresql_1'... $ git fetch origin a23.2:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/postgresql_1 * [new branch] a23.2 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 4406fed update to 15.9