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