$ git clone -n https://gitee.com/lxpzero/ruby.git /var/lib/mock/dist-an23.3-build-424176-72931/root/chroot_tmpdir/scmroot/ruby Cloning into '/var/lib/mock/dist-an23.3-build-424176-72931/root/chroot_tmpdir/scmroot/ruby'... $ git fetch origin e6e7bc2e9e0b53a533fcdda6f019e7ef599e862d:KOJI_FETCH_HEAD From https://gitee.com/lxpzero/ruby * [new ref] e6e7bc2e9e0b53a533fcdda6f019e7ef599e862d -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at e6e7bc2 update to 3.3.7 from 3.1.4