$ git clone -n https://gitee.com/hongwei-qin/mcstrans.git /var/lib/mock/dist-an23.3-build-415216-72844/root/chroot_tmpdir/scmroot/mcstrans Cloning into '/var/lib/mock/dist-an23.3-build-415216-72844/root/chroot_tmpdir/scmroot/mcstrans'... $ git fetch origin 20d5c86ec0301747e622f9a2781ce8064abd2786:KOJI_FETCH_HEAD From https://gitee.com/hongwei-qin/mcstrans * [new ref] 20d5c86ec0301747e622f9a2781ce8064abd2786 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 20d5c86 update to 3.8