$ git clone -n https://gitee.com/hongwei-qin/ruby.git /var/lib/mock/dist-an8.10-build-449031-73290/root/chroot_tmpdir/scmroot/ruby Cloning into '/var/lib/mock/dist-an8.10-build-449031-73290/root/chroot_tmpdir/scmroot/ruby'... $ git fetch origin c5f13b4fc45479a9cc063e283a2b7f294b8426a9:KOJI_FETCH_HEAD From https://gitee.com/hongwei-qin/ruby * [new ref] c5f13b4fc45479a9cc063e283a2b7f294b8426a9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c5f13b4 update to 8.10.0