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