$ git clone -n https://gitee.com/happy_orange/whois.git /var/lib/mock/dist-an23-build-341101-69863/root/chroot_tmpdir/scmroot/whois Cloning into '/var/lib/mock/dist-an23-build-341101-69863/root/chroot_tmpdir/scmroot/whois'... $ git fetch origin 66d9cac3c508e97b16fae8e2d0b516872795598d:KOJI_FETCH_HEAD From https://gitee.com/happy_orange/whois * [new ref] 66d9cac3c508e97b16fae8e2d0b516872795598d -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 66d9cac update to 5.5.20