$ git clone -n https://gitee.com/wenjie2025/smartmontools.git /var/lib/mock/dist-an23-build-493386-74562/root/chroot_tmpdir/scmroot/smartmontools Cloning into '/var/lib/mock/dist-an23-build-493386-74562/root/chroot_tmpdir/scmroot/smartmontools'... $ git fetch origin 4dfc77ec03256e1f2040c120063e7afcf5ab8c76:KOJI_FETCH_HEAD From https://gitee.com/wenjie2025/smartmontools * [new ref] 4dfc77ec03256e1f2040c120063e7afcf5ab8c76 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 4dfc77e Update code from upstream