$ git clone -n https://gitee.com/lzq11122/php.git /var/lib/mock/dist-an23-build-451124-73471/root/chroot_tmpdir/scmroot/php Cloning into '/var/lib/mock/dist-an23-build-451124-73471/root/chroot_tmpdir/scmroot/php'... $ git fetch origin 190f3a6298f5316ab5f23a23106072c15b565774:KOJI_FETCH_HEAD From https://gitee.com/lzq11122/php * [new ref] 190f3a6298f5316ab5f23a23106072c15b565774 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 190f3a6 test