$ git clone -n https://gitee.com/wanghuan158/audit.git /var/lib/mock/dist-an23.4-build-504838-74842/root/chroot_tmpdir/scmroot/audit Cloning into '/var/lib/mock/dist-an23.4-build-504838-74842/root/chroot_tmpdir/scmroot/audit'... $ git fetch origin a4ef4b9f1ac43c2f2fbe87dd00873965e78a439b:KOJI_FETCH_HEAD From https://gitee.com/wanghuan158/audit * [new ref] a4ef4b9f1ac43c2f2fbe87dd00873965e78a439b -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a4ef4b9 delete unused code