$ git clone -n https://gitee.com/mgb01105731/dtc.git /var/lib/mock/dist-an23.3-build-425115-72956/root/chroot_tmpdir/scmroot/dtc Cloning into '/var/lib/mock/dist-an23.3-build-425115-72956/root/chroot_tmpdir/scmroot/dtc'... $ git fetch origin b154528d80de5a82e3997e20376e5d7e20eec8e3:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/dtc * [new ref] b154528d80de5a82e3997e20376e5d7e20eec8e3 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b154528 Update to 1.7.0 from 1.6.1