$ git clone -n https://gitee.com/qu_zhi_yuan/swclang.git /var/lib/mock/dist-an23-build-460334-73691/root/chroot_tmpdir/scmroot/swclang Cloning into '/var/lib/mock/dist-an23-build-460334-73691/root/chroot_tmpdir/scmroot/swclang'... $ git fetch origin 4660e48bc666e5a0f2a9187a2d9d4f5899647492:KOJI_FETCH_HEAD From https://gitee.com/qu_zhi_yuan/swclang * [new ref] 4660e48bc666e5a0f2a9187a2d9d4f5899647492 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 4660e48 Merge branch 'master' of https://gitee.com/qu_zhi_yuan/swclang