$ git clone -n https://gitee.com/fundawang/gtk3.git /var/lib/mock/dist-an23-build-185753-60629/root/chroot_tmpdir/scmroot/gtk3 Cloning into '/var/lib/mock/dist-an23-build-185753-60629/root/chroot_tmpdir/scmroot/gtk3'... $ git fetch origin 36f0943849930d3ebe2a96e1d6e02b768a3e9335:KOJI_FETCH_HEAD From https://gitee.com/fundawang/gtk3 * [new ref] 36f0943849930d3ebe2a96e1d6e02b768a3e9335 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 36f0943 3.24.36