$ git clone -n https://gitee.com/wenyuzifang/go-rpm-macros_1758701429.git /var/lib/mock/dist-an23-build-471072-74070/root/chroot_tmpdir/scmroot/go-rpm-macros_1758701429 Cloning into '/var/lib/mock/dist-an23-build-471072-74070/root/chroot_tmpdir/scmroot/go-rpm-macros_1758701429'... $ git fetch origin a222008c131c8e4c76bc12c7ec4e09f5383607dc:KOJI_FETCH_HEAD From https://gitee.com/wenyuzifang/go-rpm-macros_1758701429 * [new ref] a222008c131c8e4c76bc12c7ec4e09f5383607dc -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a222008 Update code from upstream