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