$ git clone -n https://gitee.com/xzyang-anolis/dpa-ext-gnomekeyring.git /var/lib/mock/dist-an23-dde-build-345101-70117/root/chroot_tmpdir/scmroot/dpa-ext-gnomekeyring Cloning into '/var/lib/mock/dist-an23-dde-build-345101-70117/root/chroot_tmpdir/scmroot/dpa-ext-gnomekeyring'... $ git fetch origin 544dad47b6ab43527753794b3dc60a9425d40a06:KOJI_FETCH_HEAD From https://gitee.com/xzyang-anolis/dpa-ext-gnomekeyring * [new ref] 544dad47b6ab43527753794b3dc60a9425d40a06 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 544dad4 fix build error