$ git clone -n https://gitee.com/lzq11122/apache-commons-io.git /var/lib/mock/dist-an23.3-build-450393-73453/root/chroot_tmpdir/scmroot/apache-commons-io Cloning into '/var/lib/mock/dist-an23.3-build-450393-73453/root/chroot_tmpdir/scmroot/apache-commons-io'... $ git fetch origin 70bf929e634096882fa9beab362fc976c2fb5ae6:KOJI_FETCH_HEAD From https://gitee.com/lzq11122/apache-commons-io * [new ref] 70bf929e634096882fa9beab362fc976c2fb5ae6 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 70bf929 test