$ git clone -n https://gitee.com/fundawang/alsa-lib.git /var/lib/mock/dist-an23-build-351759-70946/root/chroot_tmpdir/scmroot/alsa-lib Cloning into '/var/lib/mock/dist-an23-build-351759-70946/root/chroot_tmpdir/scmroot/alsa-lib'... $ git fetch origin 07b36476c2d6a7cdf64dcde61324e3fc10f6f2d2:KOJI_FETCH_HEAD From https://gitee.com/fundawang/alsa-lib * [new ref] 07b36476c2d6a7cdf64dcde61324e3fc10f6f2d2 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 07b3647 1.2.11