$ git clone -n https://gitee.com/lvfeicaiji_admin/java-1.8.0-alibaba-dragonwell.git /var/lib/mock/dist-an8.9-build-393850-72116/root/chroot_tmpdir/scmroot/java-1.8.0-alibaba-dragonwell Cloning into '/var/lib/mock/dist-an8.9-build-393850-72116/root/chroot_tmpdir/scmroot/java-1.8.0-alibaba-dragonwell'... $ git fetch origin 769b4350857b3acfe55a833e39d0f77e7a040031:KOJI_FETCH_HEAD From https://gitee.com/lvfeicaiji_admin/java-1.8.0-alibaba-dragonwell * [new ref] 769b4350857b3acfe55a833e39d0f77e7a040031 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 769b435 test