$ git clone -n https://gitee.com/wenyuzifang/compiler-rt.git /var/lib/mock/dist-an23-build-469619-74027/root/chroot_tmpdir/scmroot/compiler-rt Cloning into '/var/lib/mock/dist-an23-build-469619-74027/root/chroot_tmpdir/scmroot/compiler-rt'... $ git fetch origin b31c5ea6cc1a87a33f9c6c49aa207e357dcee880:KOJI_FETCH_HEAD From https://gitee.com/wenyuzifang/compiler-rt * [new ref] b31c5ea6cc1a87a33f9c6c49aa207e357dcee880 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b31c5ea Update code from upstream