$ git clone -n https://gitee.com/fundawang/setroubleshoot.git /var/lib/mock/dist-an23-build-322831-68385/root/chroot_tmpdir/scmroot/setroubleshoot Cloning into '/var/lib/mock/dist-an23-build-322831-68385/root/chroot_tmpdir/scmroot/setroubleshoot'... $ git fetch origin e2e7144ebe999ce0ada296f98d50eb2c70f7bcf7:KOJI_FETCH_HEAD From https://gitee.com/fundawang/setroubleshoot * [new ref] e2e7144ebe999ce0ada296f98d50eb2c70f7bcf7 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at e2e7144 fix br