$ git clone -n https://gitee.com/lzq11122/apache-commons-compress.git /var/lib/mock/dist-an23-build-449681-73445/root/chroot_tmpdir/scmroot/apache-commons-compress Cloning into '/var/lib/mock/dist-an23-build-449681-73445/root/chroot_tmpdir/scmroot/apache-commons-compress'... $ git fetch origin 5aa0149ad0bd4884010288660cae8d4521234d8b:KOJI_FETCH_HEAD From https://gitee.com/lzq11122/apache-commons-compress * [new ref] 5aa0149ad0bd4884010288660cae8d4521234d8b -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 5aa0149 test