$ git clone -n https://gitee.com/lizhao2025/itstool.git /var/lib/mock/dist-an23-build-499534-74764/root/chroot_tmpdir/scmroot/itstool Cloning into '/var/lib/mock/dist-an23-build-499534-74764/root/chroot_tmpdir/scmroot/itstool'... $ git fetch origin f8d8ff49c99d63972940015e55bc2c26d68d837d:KOJI_FETCH_HEAD From https://gitee.com/lizhao2025/itstool * [new ref] f8d8ff49c99d63972940015e55bc2c26d68d837d -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f8d8ff4 Update code from upstream