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