$ git clone -n https://gitee.com/yxy19990412/sudo.git /var/lib/mock/dist-an23-build-360089-71192/root/chroot_tmpdir/scmroot/sudo Cloning into '/var/lib/mock/dist-an23-build-360089-71192/root/chroot_tmpdir/scmroot/sudo'... $ git fetch origin 6d3e33693d54a276c2a0fc0afafd2e22c0ea3944:KOJI_FETCH_HEAD From https://gitee.com/yxy19990412/sudo * [new ref] 6d3e33693d54a276c2a0fc0afafd2e22c0ea3944 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 6d3e336 1.9.15p2