$ git clone -n https://gitee.com/hongwei-qin/mt-st.git /var/lib/mock/dist-an23.3-build-422523-72919/root/chroot_tmpdir/scmroot/mt-st Cloning into '/var/lib/mock/dist-an23.3-build-422523-72919/root/chroot_tmpdir/scmroot/mt-st'... $ git fetch origin 0ce4ec505b26bc6a20d45697c4499ba3061bbd5f:KOJI_FETCH_HEAD From https://gitee.com/hongwei-qin/mt-st * [new ref] 0ce4ec505b26bc6a20d45697c4499ba3061bbd5f -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 0ce4ec5 update to 1.7