$ git clone -n https://gitee.com/carlo_bai/apr.git /var/lib/mock/dist-an23-build-194673-60869/root/chroot_tmpdir/scmroot/apr Cloning into '/var/lib/mock/dist-an23-build-194673-60869/root/chroot_tmpdir/scmroot/apr'... $ git fetch origin 3e3023a2ce7df35a4a5c7dfad67cc8d313f443e2:KOJI_FETCH_HEAD From https://gitee.com/carlo_bai/apr * [new ref] 3e3023a2ce7df35a4a5c7dfad67cc8d313f443e2 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 3e3023a add doc package