$ git clone -n https://gitee.com/yueeranna/opusfile.git /var/lib/mock/dist-an23-epao-build-397732-72287/root/chroot_tmpdir/scmroot/opusfile Cloning into '/var/lib/mock/dist-an23-epao-build-397732-72287/root/chroot_tmpdir/scmroot/opusfile'... $ git fetch origin d9bff7a94054992081cbac2a8c75fd5c8c7116ce:KOJI_FETCH_HEAD From https://gitee.com/yueeranna/opusfile * [new ref] d9bff7a94054992081cbac2a8c75fd5c8c7116ce -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at d9bff7a init from upstream