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