$ git clone -n https://gitee.com/Weisson/tar.git /var/lib/mock/dist-an23.3-build-417807-72869/root/chroot_tmpdir/scmroot/tar Cloning into '/var/lib/mock/dist-an23.3-build-417807-72869/root/chroot_tmpdir/scmroot/tar'... $ git fetch origin 18a8a0e16302b22f3ee4f56378459603a31ffd20:KOJI_FETCH_HEAD From https://gitee.com/Weisson/tar * [new ref] 18a8a0e16302b22f3ee4f56378459603a31ffd20 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 18a8a0e Refer to CentOS Stream tar-1.35-7(pcahyna@redhat.com).