$ git clone -n https://gitee.com/Weisson/gpm.git /var/lib/mock/dist-an23-build-489783-74493/root/chroot_tmpdir/scmroot/gpm Cloning into '/var/lib/mock/dist-an23-build-489783-74493/root/chroot_tmpdir/scmroot/gpm'... $ git fetch origin ea4bfdf3dee50030228f2183ad3be4c02ae502e8:KOJI_FETCH_HEAD From https://gitee.com/Weisson/gpm * [new ref] ea4bfdf3dee50030228f2183ad3be4c02ae502e8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at ea4bfdf Update code from upstream