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