$ git clone -n https://gitee.com/wency_cn/nss-altfiles_1764789727.git /var/lib/mock/dist-an23-build-491142-74530/root/chroot_tmpdir/scmroot/nss-altfiles_1764789727 Cloning into '/var/lib/mock/dist-an23-build-491142-74530/root/chroot_tmpdir/scmroot/nss-altfiles_1764789727'... $ git fetch origin a215cd84cea5510ef44f0a299e1787572a346296:KOJI_FETCH_HEAD From https://gitee.com/wency_cn/nss-altfiles_1764789727 * [new ref] a215cd84cea5510ef44f0a299e1787572a346296 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a215cd8 Update code from upstream